From: Jacopo Mondi Date: Tue, 27 Feb 2018 17:32:52 +0000 (-0500) Subject: media: platform: renesas-ceu: Fix CSTRST_CPON mask X-Git-Tag: v4.17-rc1~143^2~186 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=309131594016651ab44753ea447a36987e8f4c23;p=linux.git 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 Signed-off-by: Jacopo Mondi Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/platform/renesas-ceu.c b/drivers/media/platform/renesas-ceu.c index bd64cad542df..903c05c67d91 100644 --- a/drivers/media/platform/renesas-ceu.c +++ b/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