mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-28 12:25:31 +00:00
[media] 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> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:
parent
0cd9b21ed5
commit
37a4bd757c
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user