mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
[media] s5p-jpeg: exynos3250: fix erroneous reset procedure
The first while loop in the function exynos3250_jpeg_reset had no chance to be executed because the reg variable was initialized to 0. Initialize reg variable to 1 to fix the issue. Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com> Reported-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
3987c98461
commit
f7cbd688f0
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
|
||||
void exynos3250_jpeg_reset(void __iomem *regs)
|
||||
{
|
||||
u32 reg = 0;
|
||||
u32 reg = 1;
|
||||
int count = 1000;
|
||||
|
||||
writel(1, regs + EXYNOS3250_SW_RESET);
|
||||
|
|
Loading…
Add table
Reference in a new issue