media: rc and cec: keep all menu entries together
PATCH 1/1 media: rc and cec: keep all menu entries together
Keep all of the Remote Controller and CEC menu entries grouped together. This is most relevant to 'make xconfig', where the entries for "HDMI CEC RC integration" and "Enable CEC error injection support" are not displayed (presented) anywhere near the other Remote Controller support options.
By grouping all of these menu entries inside a menu/endmenu block, they are forced to be kept together.
--- drivers/media/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/media/Kconfig +2 -0
@@ -6,8 +6,10 @@ # # NOTE: CEC and Remote Controller support should not depend on MEDIA_SUPPORT # +menu "Remote Controller and CEC support" source "drivers/media/rc/Kconfig" source "drivers/media/cec/Kconfig" +endmenu menuconfig MEDIA_SUPPORT tristate "Multimedia support"
Hi Randy,
Quoted 21 lines · Randy Dunlap
Keep all of the Remote Controller and CEC menu entries grouped together. This is most relevant to 'make xconfig', where the entries for "HDMI CEC RC integration" and "Enable CEC error injection support" are not displayed (presented) anywhere near the other Remote Controller support options.
By grouping all of these menu entries inside a menu/endmenu block, they are forced to be kept together.Fixes 46d2a3b964dd ("media: place CEC menu before MEDIA_SUPPORT")Signed-off-by Randy Dunlap <[email protected]>Cc Sean Young <[email protected]>Cc Hans Verkuil <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>--- drivers/media/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
drivers/media/Kconfig line 12
Quoted 7 lines
drivers/media/Kconfig +2
-0@@ -6,8 +6,10 @@ # # NOTE: CEC and Remote Controller support should not depend on MEDIA_SUPPORT # +menu "Remote Controller and CEC support" source "drivers/media/rc/Kconfig" source "drivers/media/cec/Kconfig" +endmenu
Remote control and CEC really have very little to do with one another, except for "HDMI CEC RC integration", which is a feature of CEC.
It would make more sense IMHO to make a "CEC support" menu and move the CEC drivers and "HDMI CEC RC integration" and "Enable CEC error injection support" to that new menu. It's a bit odd that those two CEC options are directly under the Device Drivers menu.
Would that work for you?
Regards,
Hans
Quoted 4 lines
drivers/media/Kconfig +0
-0menuconfig MEDIA_SUPPORT tristate "Multimedia support"
Quoted 35 lines · Hans Verkuil
Hi Randy,
Quoted 21 lines · Randy Dunlap
Keep all of the Remote Controller and CEC menu entries grouped together. This is most relevant to 'make xconfig', where the entries for "HDMI CEC RC integration" and "Enable CEC error injection support" are not displayed (presented) anywhere near the other Remote Controller support options.
By grouping all of these menu entries inside a menu/endmenu block, they are forced to be kept together.Fixes 46d2a3b964dd ("media: place CEC menu before MEDIA_SUPPORT")Signed-off-by Randy Dunlap <[email protected]>Cc Sean Young <[email protected]>Cc Hans Verkuil <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>--- drivers/media/Kconfig | 2 ++ 1 file changed, 2 insertions(+)drivers/media/Kconfig line 12
Quoted 7 lines
drivers/media/Kconfig +2
-0@@ -6,8 +6,10 @@ # # NOTE: CEC and Remote Controller support should not depend on MEDIA_SUPPORT # +menu "Remote Controller and CEC support" source "drivers/media/rc/Kconfig" source "drivers/media/cec/Kconfig" +endmenuRemote control and CEC really have very little to do with one another, except for "HDMI CEC RC integration", which is a feature of CEC.
Quoted 7 lines
It would make more sense IMHO to make a "CEC support" menu and move the CEC drivers and "HDMI CEC RC integration" and "Enable CEC error injection support" to that new menu. It's a bit odd that those two CEC options are directly under the Device Drivers menu.
Would that work for you?
Hi Hans,
I don't know, but I'll try it out.
Thanks.
Quoted 6 lines
Quoted 5 lines
drivers/media/Kconfig +0
-0menuconfig MEDIA_SUPPORT tristate "Multimedia support"
Signature · 1 line
~Randy