Skip to contentSkip to conversation

staging: media: davinci_vpfe: Fix spelling mistake in enum

PATCH In review Kimberly Brown 2 participants 2 messages Oct 18, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: media: davinci_vpfe: Fix spelling mistake in enum

Fix the spelling mistake in enumerator identifier RESIZER_MODE_CONTINIOUS. 'CONTINIOUS' should be 'CONTINUOUS'. Issue found by checkpatch.

---
 drivers/staging/media/davinci_vpfe/dm365_resizer.c | 2 +-
 drivers/staging/media/davinci_vpfe/dm365_resizer.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/davinci_vpfe/dm365_resizer.c +1 -1
index 2b797474a344..6c5fcd6c691a 100644
@@ -499,7 +499,7 @@ resizer_configure_in_continuous_mode(struct vpfe_resizer_device *resizer)
 	configure_resizer_out_params(resizer, RSZ_A,
 				     &cont_config->output1, 1, 0);
 	param->rsz_en[RSZ_B] = DISABLE;
-	param->oper_mode = RESIZER_MODE_CONTINIOUS;
+	param->oper_mode = RESIZER_MODE_CONTINUOUS;
 
 	if (resizer->resizer_b.output == RESIZER_OUTPUT_MEMORY) {
 		struct v4l2_mbus_framefmt *outformat2;
drivers/staging/media/davinci_vpfe/dm365_resizer.h +1 -1
index 00e64b0d0295..cf560a33d862 100644
@@ -23,7 +23,7 @@
 #define _DAVINCI_VPFE_DM365_RESIZER_H
 
 enum resizer_oper_mode {
-	RESIZER_MODE_CONTINIOUS = 0,
+	RESIZER_MODE_CONTINUOUS = 0,
 	RESIZER_MODE_ONE_SHOT = 1,
 };
 
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Kimberly Brown

Fix the spelling mistake in enumerator identifier RESIZER_MODE_CONTINIOUS. 'CONTINIOUS' should be 'CONTINUOUS'. Issue found by checkpatch.

Quoted 40 lines
---
 drivers/staging/media/davinci_vpfe/dm365_resizer.c | 2 +-
 drivers/staging/media/davinci_vpfe/dm365_resizer.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/media/davinci_vpfe/dm365_resizer.c +1 -1
index 2b797474a344..6c5fcd6c691a 100644
@@ -499,7 +499,7 @@ resizer_configure_in_continuous_mode(struct vpfe_resizer_device *resizer)
        configure_resizer_out_params(resizer, RSZ_A,
                                     &cont_config->output1, 1, 0);
        param->rsz_en[RSZ_B] = DISABLE;
-       param->oper_mode = RESIZER_MODE_CONTINIOUS;
+       param->oper_mode = RESIZER_MODE_CONTINUOUS;
 
        if (resizer->resizer_b.output == RESIZER_OUTPUT_MEMORY) {
                struct v4l2_mbus_framefmt *outformat2;
drivers/staging/media/davinci_vpfe/dm365_resizer.h +1 -2
index 00e64b0d0295..cf560a33d862 100644
@@ -23,7 +23,7 @@
 #define _DAVINCI_VPFE_DM365_RESIZER_H
 
 enum resizer_oper_mode {
-       RESIZER_MODE_CONTINIOUS = 0,
+       RESIZER_MODE_CONTINUOUS = 0,
        RESIZER_MODE_ONE_SHOT = 1,
 };
 
--

2.17.1

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20181018011427.GA3096%40v.
For more options, visit https://groups.google.com/d/optout.