mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
bas_gigaset: use tasklet_hi_schedule for timing critical tasklets
The tasklets for isochronous data transfer need to run within 8 msec to avoid over/underruns, so schedule them with high priority to fix reported issues with occasional over/underruns. Signed-off-by: Tilman Schmidt <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
d9677a45cf
commit
368fd81d2d
1 changed files with 2 additions and 2 deletions
|
|
@ -821,7 +821,7 @@ static void read_iso_callback(struct urb *urb)
|
|||
/* pass URB to tasklet */
|
||||
ubc->isoindone = urb;
|
||||
ubc->isoinstatus = status;
|
||||
tasklet_schedule(&ubc->rcvd_tasklet);
|
||||
tasklet_hi_schedule(&ubc->rcvd_tasklet);
|
||||
} else {
|
||||
/* tasklet still busy, drop data and resubmit URB */
|
||||
ubc->loststatus = status;
|
||||
|
|
@ -888,7 +888,7 @@ static void write_iso_callback(struct urb *urb)
|
|||
ubc->isooutovfl = ubc->isooutdone;
|
||||
ubc->isooutdone = ucx;
|
||||
spin_unlock_irqrestore(&ubc->isooutlock, flags);
|
||||
tasklet_schedule(&ubc->sent_tasklet);
|
||||
tasklet_hi_schedule(&ubc->sent_tasklet);
|
||||
}
|
||||
|
||||
/* starturbs
|
||||
|
|
|
|||
Loading…
Reference in a new issue