]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: platform: renesas-ceu: Fix CSTRST_CPON mask
authorJacopo Mondi <jacopo+renesas@jmondi.org>
Tue, 27 Feb 2018 17:32:52 +0000 (12:32 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 17:17:57 +0000 (12:17 -0500)
The CSTRST_CPON mask was wrongly assigned to BIT(1) instead of BIT(0).
Fix that by changing the mask opportunely.

Reported-by: Dylan Laduranty <dylan.laduranty@mesotic.com>
Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/renesas-ceu.c

index bd64cad542df89f9c3d5f1295b340e3b355de461..903c05c67d91681f7df2e1dd93f855309248b5db 100644 (file)
@@ -95,7 +95,7 @@
 
 /* CEU operating flag bit. */
 #define CEU_CAPCR_CTNCP                        BIT(16)
-#define CEU_CSTRST_CPTON               BIT(1)
+#define CEU_CSTRST_CPTON               BIT(0)
 
 /* Platform specific IRQ source flags. */
 #define CEU_CETCR_ALL_IRQS_RZ          0x397f313