summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2014-09-01 13:05:52 (GMT)
committerChanho Park <chanho61.park@samsung.com>2014-11-18 03:01:15 (GMT)
commit9beaf054bf4a66f5025a8733b1f4fcd1e065b2f7 (patch)
tree44ce8e0a14c1dfc7d14d379f6804bb5b3d80e124
parent0367e8971165281ec26ea94e8cc564b1345483cf (diff)
downloadlinux-3.10-9beaf054bf4a66f5025a8733b1f4fcd1e065b2f7.zip
linux-3.10-9beaf054bf4a66f5025a8733b1f4fcd1e065b2f7.tar.gz
linux-3.10-9beaf054bf4a66f5025a8733b1f4fcd1e065b2f7.tar.bz2
[media] s5p-jpeg: fix HUF_TBL_EN bit clearing path
Use proper bitwise operator while clearing HUF_TBL_EN bit. Change-Id: Ic78dd26168ffa6124d61f8cb9549339f05cff0d9 Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r--drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c
index d9ce40f..e51c078 100644
--- a/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c
+++ b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c
@@ -182,7 +182,7 @@ void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value)
writel(reg | EXYNOS4_HUF_TBL_EN,
base + EXYNOS4_JPEG_CNTL_REG);
else
- writel(reg | ~EXYNOS4_HUF_TBL_EN,
+ writel(reg & ~EXYNOS4_HUF_TBL_EN,
base + EXYNOS4_JPEG_CNTL_REG);
}