mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
[media] s5p-jpeg: fix HUF_TBL_EN bit clearing path
Use proper bitwise operator while clearing HUF_TBL_EN bit. 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>
This commit is contained in:
parent
d727ff4241
commit
5da74fc66b
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ void exynos4_jpeg_set_huf_table_enable(void __iomem *base, int value)
|
||||||
writel(reg | EXYNOS4_HUF_TBL_EN,
|
writel(reg | EXYNOS4_HUF_TBL_EN,
|
||||||
base + EXYNOS4_JPEG_CNTL_REG);
|
base + EXYNOS4_JPEG_CNTL_REG);
|
||||||
else
|
else
|
||||||
writel(reg | ~EXYNOS4_HUF_TBL_EN,
|
writel(reg & ~EXYNOS4_HUF_TBL_EN,
|
||||||
base + EXYNOS4_JPEG_CNTL_REG);
|
base + EXYNOS4_JPEG_CNTL_REG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue