Skip to contentSkip to conversation

v4l: Kconfig: Drop subdev API option help text

PATCH In review Sakari Ailus 3 participants 6 messages Jul 13, 2022 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l: Kconfig: Drop subdev API option help text

The config option text was recently removed, also remove the help text.

---
 drivers/media/v4l2-core/Kconfig | 5 -----
 1 file changed, 5 deletions(-)
drivers/media/v4l2-core/Kconfig +0 -5
index 348559bc24689..60b0c6ee7343a 100644
@@ -11,11 +11,6 @@ config VIDEO_V4L2_I2C
 config VIDEO_V4L2_SUBDEV_API
 	bool
 	depends on VIDEO_DEV && MEDIA_CONTROLLER
-	help
-	  Enables the V4L2 sub-device pad-level userspace API used to configure
-	  video format, size and frame rate between hardware blocks.
-
-	  This API is mostly used by camera interfaces in embedded platforms.
 
 config VIDEO_ADV_DEBUG
 	bool "Enable advanced debug functionality on V4L2 drivers"
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw

Hi Sakari,

Thank you for the patch.

Quoted 3 lines · Sakari Ailus

The config option text was recently removed, also remove the help text.

Quoted 20 lines
---
 drivers/media/v4l2-core/Kconfig | 5 -----
 1 file changed, 5 deletions(-)
drivers/media/v4l2-core/Kconfig +0 -5
index 348559bc24689..60b0c6ee7343a 100644
@@ -11,11 +11,6 @@ config VIDEO_V4L2_I2C
 config VIDEO_V4L2_SUBDEV_API
 	bool
 	depends on VIDEO_DEV && MEDIA_CONTROLLER
-	help
-	  Enables the V4L2 sub-device pad-level userspace API used to configure
-	  video format, size and frame rate between hardware blocks.
-
-	  This API is mostly used by camera interfaces in embedded platforms.
 
 config VIDEO_ADV_DEBUG
 	bool "Enable advanced debug functionality on V4L2 drivers"
Signature · 3 lines
Regards,

Laurent Pinchart
#2 lore raw
Quoted 10 lines · Laurent Pinchart

Hi Sakari,

Thank you for the patch.

Quoted 3 lines · Sakari Ailus

The config option text was recently removed, also remove the help text.

Actually, on second thought, isn't it useful to keep the help text as documentation ?

Quoted 20 lines
Quoted 20 lines
---
 drivers/media/v4l2-core/Kconfig | 5 -----
 1 file changed, 5 deletions(-)
drivers/media/v4l2-core/Kconfig +0 -5
index 348559bc24689..60b0c6ee7343a 100644
@@ -11,11 +11,6 @@ config VIDEO_V4L2_I2C
 config VIDEO_V4L2_SUBDEV_API
 	bool
 	depends on VIDEO_DEV && MEDIA_CONTROLLER
-	help
-	  Enables the V4L2 sub-device pad-level userspace API used to configure
-	  video format, size and frame rate between hardware blocks.
-
-	  This API is mostly used by camera interfaces in embedded platforms.
 
 config VIDEO_ADV_DEBUG
 	bool "Enable advanced debug functionality on V4L2 drivers"
Signature · 3 lines
Regards,

Laurent Pinchart
#3 lore raw
Quoted 6 lines · Laurent Pinchart
Quoted 5 lines · Laurent Pinchart

Hi Sakari,

Thank you for the patch.

On Wed, Jul 13, 2022 at 08:39:20PM +0300, Sakari Ailus wrote:

Quoted 8 lines
Quoted 5 lines
Quoted 3 lines

The config option text was recently removed, also remove the help text.

Actually, on second thought, isn't it useful to keep the help text as documentation ?

We haven't generally done that for other such options either. This was intended for end users IMO.

Signature · 1 line
Sakari Ailus
#4 lore raw
Quoted 11 lines · Sakari Ailus
Quoted 10 lines · Laurent Pinchart
Quoted 9 lines · Laurent Pinchart

Hi Sakari,

Thank you for the patch.

Quoted 3 lines · Sakari Ailus

The config option text was recently removed, also remove the help text.

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Actually, on second thought, isn't it useful to keep the help text as documentation ?

We haven't generally done that for other such options either. This was intended for end users IMO.

I don't have a strong opinion, but this came to my attention when reviewing your patch that adds selection of GENERIC_PHY_MIPI_DPHY for sun6i. The GENERIC_PHY_MIPI_DPHY symbol isn't user-selectable but has a help text. A short documentation is useful in my opinion.

Signature · 3 lines
Regards,

Laurent Pinchart
#5 lore raw
Quoted 17 lines · Laurent Pinchart
Quoted 16 lines · Sakari Ailus
Quoted 14 lines · Laurent Pinchart
Quoted 10 lines · Laurent Pinchart

Hi Sakari,

Thank you for the patch.

Quoted 3 lines · Sakari Ailus

The config option text was recently removed, also remove the help text.

Actually, on second thought, isn't it useful to keep the help text as documentation ?

Quoted 7 lines
Quoted 2 lines

We haven't generally done that for other such options either. This was intended for end users IMO.

I don't have a strong opinion, but this came to my attention when reviewing your patch that adds selection of GENERIC_PHY_MIPI_DPHY for sun6i. The GENERIC_PHY_MIPI_DPHY symbol isn't user-selectable but has a help text. A short documentation is useful in my opinion.

I'll leave it ouf of the next pull request then. We can later on decide to merge it if we like.

Signature · 1 line
Sakari Ailus