aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2014-09-01 15:05:50 +0200
committerKamil Debski <k.debski@samsung.com>2014-09-03 10:33:24 +0200
commitc1e9ab0e40ae289b6d9f67df468cdf2ceb098437 (patch)
tree4536f7422c65d606c347cd8570cc6c30c9823eed
parent157f1c3340282b4e386de2d3341b844a7a131749 (diff)
s5p-jpeg: remove stray call to readl
There is no need to read INT_EN_REG before enabling interrupts. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Signed-off-by: Kamil Debski <k.debski@samsung.com>
-rw-r--r--drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c
index da8d6a1a984f..2de81c7d38d1 100644
--- a/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c
+++ b/drivers/media/platform/s5p-jpeg/jpeg-hw-exynos4.c
@@ -151,9 +151,6 @@ void exynos4_jpeg_set_enc_out_fmt(void __iomem *base, unsigned int out_fmt)
void exynos4_jpeg_set_interrupt(void __iomem *base)
{
- unsigned int reg;
-
- reg = readl(base + EXYNOS4_INT_EN_REG) & ~EXYNOS4_INT_EN_MASK;
writel(EXYNOS4_INT_EN_ALL, base + EXYNOS4_INT_EN_REG);
}

Privacy Policy