media: include/media: fix missing | operator when setting cfg
authorColin Ian King <colin.king@canonical.com>
Wed, 18 Apr 2018 15:06:17 +0000 (11:06 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Sat, 5 May 2018 13:01:22 +0000 (09:01 -0400)
commit1719834691901386cfcd264e0144309ddbada3d8
treef918e22e14748ad7a0b98f813e301f9e09c09d3a
parentf2bea20ec56234a8ca8ec4a3481b744b3e0e8813
media: include/media: fix missing | operator when setting cfg

The value from a readl is being masked with ITE_REG_CIOCAN_MASK however
this is not being used and cfg is being re-assigned.  I believe the
assignment operator should actually be instead the |= operator.

Detected by CoverityScan, CID#1467987 ("Unused value")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/exynos4-is/fimc-lite-reg.c