mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-10-31 18:09:19 +00:00
ALSA: isight: adjust for new queueing API
Since commit 13882a82ee
(optimize iso queueing by setting
wake only after the last packet), drivers are required to call
fw_iso_context_queue_flush() after queueing a batch of packets.
The missing call would have an effect only if the controller
queue underruns, but then the DMA would stop completely.
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
0ec5258d68
commit
cf6f1ff17f
1 changed files with 1 additions and 0 deletions
|
@ -209,6 +209,7 @@ static void isight_packet(struct fw_iso_context *context, u32 cycle,
|
|||
isight->packet_index = -1;
|
||||
return;
|
||||
}
|
||||
fw_iso_context_queue_flush(isight->context);
|
||||
|
||||
if (++index >= QUEUE_LENGTH)
|
||||
index = 0;
|
||||
|
|
Loading…
Reference in a new issue