Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9190956 authored by Jonathan Cameron's avatar Jonathan Cameron
Browse files

staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo modular and...


staging:iio:dummy fix kfifo_buf kconfig dependency issue if kfifo modular and buffer enabled for built in dummy driver.

This only occurs in the unlikely event that the example driver is built
in whilst the buffer implementation is not.

Solved by switching from a depends on to a select for this particular case.

Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Reported-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent db10e201
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ config IIO_SIMPLE_DUMMY_EVENTS

config IIO_SIMPLE_DUMMY_BUFFER
       boolean "Buffered capture support"
       depends on IIO_KFIFO_BUF
       select IIO_KFIFO_BUF
       help
         Add buffered data capture to the simple dummy driver.