From: Jacek Anaszewski Date: Wed, 25 Feb 2015 11:53:49 +0000 (-0300) Subject: [media] s5p-jpeg: exynos3250: fix erroneous reset procedure X-Git-Tag: omap-for-v4.2/o2_dc~213^2~8 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7cbd688f039a3adefc9210226b7edf5bd8fd6cd;p=pandora-kernel.git [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 Reported-by: Andrzej Pietrasiewicz Signed-off-by: Sylwester Nawrocki Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed