]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: meson: axg-fifo: add NO_PERIOD_WAKEUP support
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 7 Apr 2021 14:59:14 +0000 (16:59 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 7 Apr 2021 15:58:31 +0000 (16:58 +0100)
commit6733618938c70f693261497cad4d96f78343503b
treec6ad39f7ae4abd519f72eed9f3b7355746e67953
parent45de74f6f2fb168388a735ca99a3aba2efd54213
ASoC: meson: axg-fifo: add NO_PERIOD_WAKEUP support

On the AXG family, the fifo irq is not necessary for the HW to operate.
It is just used to notify that a period has elapsed. If userpace does not
care for these wakeups (such as pipewire), we are just wasting CPU cycles.

Add support for NO_PERIOD_WAKEUP and disable irq when they are no needed.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210407145914.311479-1-jbrunet@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-fifo.c