ASoC: stm32: dfsdm: add stm32_adfsdm_dummy_cb() callback
authorOlivier Moysan <olivier.moysan@st.com>
Sat, 21 Nov 2020 16:14:56 +0000 (17:14 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 3 Dec 2020 19:32:40 +0000 (19:32 +0000)
commit9afaf9a5b80e6f4fd29a9d04476f2f1a0a8fd995
tree83e28df607f2d199596d88fd85ba8638051376e2
parent29e96f5a6e8178277a05c80e58ad056c5e68b934
ASoC: stm32: dfsdm: add stm32_adfsdm_dummy_cb() callback

Adapt STM32 DFSDM driver to a change in iio_channel_get_all_cb() API.
The callback pointer becomes a requested parameter of this API,
so add a dummy callback to be given as parameter of this function.
However, the stm32_dfsdm_get_buff_cb() API is still used instead,
to optimize DMA transfers.

Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20201121161457.957-2-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
sound/soc/stm/stm32_adfsdm.c