Skip to contentSkip to conversation

CONFIG_IIO_TRIGGERED_BUFFER lacks Kconfig description

DISCUSSION David Frey 2 participants 2 messages Oct 3, 2018 – Oct 9, 2018 IIO

lore
Share & tools
lore

David Frey

author
#0 lore raw

Hi,

I have noticed that CONFIG_IIO_TRIGGERED_BUFFER doesn't have any description in Kconfig. I'm not an expert on Kconfig, but I believe this means that it is not possible to set the config option explicitly using menuconfig. I see this as a problem because it means that you can't really build the necessary kernel config to support an out of tree driver which depends on CONFIG_IIO_TRIGGERED_BUFFER. If I'm wrong about this, please let me know why.

Thanks,
David

#1 lore raw
Quoted 9 lines · On Wed, 3 Oct 2018 08:47:00 -0700 David Frey <[email protected]> wrote:

Hi,

I have noticed that CONFIG_IIO_TRIGGERED_BUFFER doesn't have any description in Kconfig. I'm not an expert on Kconfig, but I believe this means that it is not possible to set the config option explicitly using menuconfig. I see this as a problem because it means that you can't really build the necessary kernel config to support an out of tree driver which depends on CONFIG_IIO_TRIGGERED_BUFFER. If I'm wrong about this, please let me know why.

The basic answer is that it's a trade off between presenting more complex options in menuconfig for in kernel drivers and supporting easy out of tree builds. Is it particularly important for your usecase to have your driver built out of tree and is not possible to patch the kernel to allow it if you need to?

So basically provide a strong argument for why and lets see what others think about this.

Jonathan

Quoted 3 lines

Thanks,
David