]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: tune the maximum available size of PCM period
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Thu, 17 Oct 2019 15:54:23 +0000 (00:54 +0900)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Oct 2019 02:35:54 +0000 (04:35 +0200)
commit3cfd4aced3bbe9940ee9add4a7eb9a6346797eb2
tree8bf4c4f1f461140ee50aecc574caa944990a8565
parentacb36fe121168ee61d58aa27b8ccd8ad9fea51f2
ALSA: firewire-lib: tune the maximum available size of PCM period

Linux driver for 1394 OHCI controller voluntarily flushes isoc context
when total size of accumulated context header reached PAGE_SIZE. This
kicks tasklet for the isoc context. This is inconvenient to process
runtime of PCM substream.

This commit adds a restriction of the maximum size of PCM period to
avoid this behaviour.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20191017155424.885-12-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-stream.c