]> 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)
commita7da5ab19aeba502877ee1f58601c5366a63f40f
treec6ad39f7ae4abd519f72eed9f3b7355746e67953
parent7f3882df7c95e567df1f044feb800fa672b0a4cd
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