Skip to contentSkip to conversation

media: omap3isp: Remove misleading comment

PATCH In review Sebastian Andrzej Siewior 3 participants 4 messages Nov 13, 2020 – Nov 25, 2020 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: omap3isp: Remove misleading comment

From: Thomas Gleixner <[email protected]>

in_interrupt() covers hard and soft interrupt servicing and bottom half disabled contexts, which is semantically undefined and useless.

The comment for __ccdc_lsc_configure() "Context: in_interrupt()" is therefore as useful as "Context: unknown'. Remove it.

---
Repost of https://lore.kernel.org/linux-media/[email protected]/
The other patches in this thread were applied.

 drivers/media/platform/omap3isp/ispccdc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/media/platform/omap3isp/ispccdc.c +2 -3
index 0fbb2aa6dd2c0..4e8905ef362f2 100644
@@ -299,11 +299,10 @@ static int ccdc_lsc_busy(struct isp_ccdc_device *ccdc)
 			     ISPCCDC_LSC_BUSY;
 }
 
-/* __ccdc_lsc_configure - Apply a new configuration to the LSC engine
+/*
+ * __ccdc_lsc_configure - Apply a new configuration to the LSC engine
  * @ccdc: Pointer to ISP CCDC device
  * @req: New configuration request
- *
- * context: in_interrupt()
  */
 static int __ccdc_lsc_configure(struct isp_ccdc_device *ccdc,
 				struct ispccdc_lsc_config_req *req)
Signature · 1 line
2.29.2
#1 lore raw

Hi Sebastian,

Thank you for the patch.

CC'ing Sakari.

Sakari, could you please pick this one up ?

Quoted 39 lines · Sebastian Andrzej Siewior

From: Thomas Gleixner <[email protected]>

in_interrupt() covers hard and soft interrupt servicing and bottom half disabled contexts, which is semantically undefined and useless.

The comment for __ccdc_lsc_configure() "Context: in_interrupt()" is therefore as useful as "Context: unknown'. Remove it.

---
Repost of https://lore.kernel.org/linux-media/[email protected]/
The other patches in this thread were applied.

 drivers/media/platform/omap3isp/ispccdc.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
drivers/media/platform/omap3isp/ispccdc.c +2 -3
index 0fbb2aa6dd2c0..4e8905ef362f2 100644
@@ -299,11 +299,10 @@ static int ccdc_lsc_busy(struct isp_ccdc_device *ccdc)
 			     ISPCCDC_LSC_BUSY;
 }
 
-/* __ccdc_lsc_configure - Apply a new configuration to the LSC engine
+/*
+ * __ccdc_lsc_configure - Apply a new configuration to the LSC engine
  * @ccdc: Pointer to ISP CCDC device
  * @req: New configuration request
- *
- * context: in_interrupt()
  */
 static int __ccdc_lsc_configure(struct isp_ccdc_device *ccdc,
 				struct ispccdc_lsc_config_req *req)
Signature · 3 lines
Regards,

Laurent Pinchart
#2 lore raw
Quoted 1 line · Laurent Pinchart

Hi Sebastian,

Hi,

Quoted 5 lines

Thank you for the patch.

CC'ing Sakari.

Sakari, could you please pick this one up ?

Sakari, does this work for you?

Sebastian

#3 lore raw
Quoted 11 lines · Sebastian Andrzej Siewior
Quoted 1 line · Laurent Pinchart

Hi Sebastian,

Hi,

Quoted 5 lines

Thank you for the patch.

CC'ing Sakari.

Sakari, could you please pick this one up ?

Sakari, does this work for you?

Oops... this one had slipped through. It's in my tree now.

Signature · 3 lines
Regards,

Sakari Ailus