Loading
iio: accel: kx022a: add missing select IIO_(TRIGGERED_)BUFFER in Kconfig
stable inclusion from stable-v6.6.58 commit 232c2eb6d60c127a1c0266c82bbb0a08c4774a0a category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IB3BSC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=232c2eb6d60c127a1c0266c82bbb0a08c4774a0a -------------------------------- commit 96666f05d11acf0370cedca17a4c3ab6f9554b35 upstream. This driver makes use of triggered buffers, but does not select the required modules. Add the missing 'select IIO_BUFFER' and 'select IIO_TRIGGERED_BUFFER'. Fixes: 7c1d1677 ("iio: accel: Support Kionix/ROHM KX022A accelerometer") Signed-off-by:Javier Carrasco <javier.carrasco.cruz@gmail.com> Acked-by:
Matti Vaittinen <mazziesaccount@gmail.com> Link: https://patch.msgid.link/20241003-iio-select-v1-1-67c0385197cd@gmail.com Cc: <Stable@vger.kernel.org> Signed-off-by:
Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
Wen Zhiwei <wenzhiwei@kylinos.cn>