linux/drivers/media/pci/tw686x
Ezequiel Garcia 6deab6fec8 [media] tw686x: audio: Prevent hw param changes while busy
Audio hw params are shared across all DMA channels,
so if the user changes any of these while any DMA channel is
enabled, it will impact the enabled channels, potentially causing
serious instability issues.

This commit avoids such situation, by preventing any hw param
change (on any DMA channel) if any other DMA audio channel is capturing.

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-06-28 07:53:05 -03:00
..
Kconfig [media] tw686x: Add support for DMA scatter-gather mode 2016-06-28 07:50:09 -03:00
Makefile
tw686x-audio.c [media] tw686x: audio: Prevent hw param changes while busy 2016-06-28 07:53:05 -03:00
tw686x-core.c [media] tw686x: Add support for DMA scatter-gather mode 2016-06-28 07:50:09 -03:00
tw686x-regs.h [media] tw686x: audio: Allow to configure the period size 2016-06-28 07:52:12 -03:00
tw686x-video.c [media] tw686x: Add support for DMA scatter-gather mode 2016-06-28 07:50:09 -03:00
tw686x.h [media] tw686x: audio: Prevent hw param changes while busy 2016-06-28 07:53:05 -03:00