Browse Source

media: platform: renesas-ceu: Fix CSTRST_CPON mask

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>
Jacopo Mondi 7 years ago
parent
commit
3091315940
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/platform/renesas-ceu.c

+ 1 - 1
drivers/media/platform/renesas-ceu.c

@@ -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