summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2014-09-01 13:05:50 (GMT)
committerChanho Park <chanho61.park@samsung.com>2014-11-18 03:01:15 (GMT)
commit61c3f19d19b3b622d2ab68f720fa773483ee7467 (patch)
tree52e351573ca3fab8e47a31ad603f9c96ae3a9f1c
parentb2bcd4db09b00706162006553cc61dea3066c68d (diff)
downloadlinux-3.10-61c3f19d19b3b622d2ab68f720fa773483ee7467.zip
linux-3.10-61c3f19d19b3b622d2ab68f720fa773483ee7467.tar.gz
linux-3.10-61c3f19d19b3b622d2ab68f720fa773483ee7467.tar.bz2
[media] s5p-jpeg: remove stray call to readl
There is no need to read INT_EN_REG before enabling interrupts. Change-Id: Idebb919754df34fb2bfa53982a4ea0a7be3f1fe7 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.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 da8d6a1..2de81c7 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);
}