Commit 1de0513c authored by Krishna Kumar's avatar Krishna Kumar Committed by Linus Torvalds

[PATCH] Remaining task queue to work queue conversion.

Somewhere in the transition of task queue to the work queue, in
stallion.c, some of the schedule_task were left out from being converted
to schedule_work.  This fixes it.
parent 058a26b7
...@@ -4234,7 +4234,7 @@ static void stl_cd1400mdmisr(stlpanel_t *panelp, int ioaddr) ...@@ -4234,7 +4234,7 @@ static void stl_cd1400mdmisr(stlpanel_t *panelp, int ioaddr)
misr = inb(ioaddr + EREG_DATA); misr = inb(ioaddr + EREG_DATA);
if (misr & MISR_DCD) { if (misr & MISR_DCD) {
set_bit(ASYI_DCDCHANGE, &portp->istate); set_bit(ASYI_DCDCHANGE, &portp->istate);
schedule_task(&portp->tqueue); schedule_work(&portp->tqueue);
portp->stats.modem++; portp->stats.modem++;
} }
...@@ -5031,7 +5031,7 @@ static void stl_sc26198txisr(stlport_t *portp) ...@@ -5031,7 +5031,7 @@ static void stl_sc26198txisr(stlport_t *portp)
if ((len == 0) || ((len < STL_TXBUFLOW) && if ((len == 0) || ((len < STL_TXBUFLOW) &&
(test_bit(ASYI_TXLOW, &portp->istate) == 0))) { (test_bit(ASYI_TXLOW, &portp->istate) == 0))) {
set_bit(ASYI_TXLOW, &portp->istate); set_bit(ASYI_TXLOW, &portp->istate);
schedule_task(&portp->tqueue); schedule_work(&portp->tqueue);
} }
if (len == 0) { if (len == 0) {
...@@ -5248,7 +5248,7 @@ static void stl_sc26198otherisr(stlport_t *portp, unsigned int iack) ...@@ -5248,7 +5248,7 @@ static void stl_sc26198otherisr(stlport_t *portp, unsigned int iack)
ipr = stl_sc26198getreg(portp, IPR); ipr = stl_sc26198getreg(portp, IPR);
if (ipr & IPR_DCDCHANGE) { if (ipr & IPR_DCDCHANGE) {
set_bit(ASYI_DCDCHANGE, &portp->istate); set_bit(ASYI_DCDCHANGE, &portp->istate);
schedule_task(&portp->tqueue); schedule_work(&portp->tqueue);
portp->stats.modem++; portp->stats.modem++;
} }
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment