media: Clarify how menus are hidden by SUBDRV_AUTOSELECT
authorEzequiel Garcia <ezequiel@collabora.com>
Sat, 27 Jul 2019 13:31:29 +0000 (10:31 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 19 Aug 2019 15:00:29 +0000 (12:00 -0300)
commit4fa4ef39e1c48b576a6a7f49c7410277e7ba09fa
tree1b314c271ac4fbe324870931b5c1a8eec3a48b34
parent31d5d15dfc3418a57cfab419a353d8dc5f5698b5
media: Clarify how menus are hidden by SUBDRV_AUTOSELECT

Some users have been having a hard time finding the hidden
menus. A typically case are camera sensor drivers
(e.g IMX219, OV5645, etc), which are common on embedded
platforms and not really "ancillary" devices.

The problem with MEDIA_SUBDRV_AUTOSELECT seems to be related
to the fact that it uses the "visible" syntax to hide
the menus.

This is not obvious and it normally takes some time to
figure out.

To fix the problem, add a comment on each of hidden menus,
which should clarify what option is causing menus to be hidden.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/Kconfig
drivers/media/dvb-frontends/Kconfig
drivers/media/i2c/Kconfig
drivers/media/spi/Kconfig
drivers/media/tuners/Kconfig