Skip to contentSkip to conversation

ARM: SAMSUNG: Fix typo in definition of VIDCON1_VSTATUS_FRONTPORCH value

PATCH New Tomasz Figa 2 participants 2 messages Nov 7, 2012 – Nov 8, 2012

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

PATCH 1/1 ARM: SAMSUNG: Fix typo in definition of VIDCON1_VSTATUS_FRONTPORCH value

The correct value for VIDCON1_VSTATUS_FRONTPORCH is 3, not 0.

---
 include/video/samsung_fimd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/video/samsung_fimd.h +1 -1
index 7ae6c07..263ed4b 100644
@@ -82,7 +82,7 @@
 #define VIDCON1_VSTATUS_VSYNC			(0x0 << 13)
 #define VIDCON1_VSTATUS_BACKPORCH		(0x1 << 13)
 #define VIDCON1_VSTATUS_ACTIVE			(0x2 << 13)
-#define VIDCON1_VSTATUS_FRONTPORCH		(0x0 << 13)
+#define VIDCON1_VSTATUS_FRONTPORCH		(0x3 << 13)
 #define VIDCON1_VCLK_MASK			(0x3 << 9)
 #define VIDCON1_VCLK_HOLD			(0x0 << 9)
 #define VIDCON1_VCLK_RUN			(0x1 << 9)
Signature · 1 line
1.8.0
#1 lore raw

PATCH 1/1 ARM: SAMSUNG: Fix typo in definition of VIDCON1_VSTATUS_FRONTPORCH value

On Wednesday, November 07, 2012 9:31 PM Jingoo Han wrote

Quoted 5 lines

The correct value for VIDCON1_VSTATUS_FRONTPORCH is 3, not 0.

According to the datasheet, 3 is right value.

Quoted 25 lines
---
 include/video/samsung_fimd.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/video/samsung_fimd.h +1 -2
index 7ae6c07..263ed4b 100644
@@ -82,7 +82,7 @@
 #define VIDCON1_VSTATUS_VSYNC			(0x0 << 13)
 #define VIDCON1_VSTATUS_BACKPORCH		(0x1 << 13)
 #define VIDCON1_VSTATUS_ACTIVE			(0x2 << 13)
-#define VIDCON1_VSTATUS_FRONTPORCH		(0x0 << 13)
+#define VIDCON1_VSTATUS_FRONTPORCH		(0x3 << 13)
 #define VIDCON1_VCLK_MASK			(0x3 << 9)
 #define VIDCON1_VCLK_HOLD			(0x0 << 9)
 #define VIDCON1_VCLK_RUN			(0x1 << 9)
--

1.8.0

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html