[media] s5p-mfc: Fix misplaced return statement in s5p_mfc_suspend()
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 28 Sep 2012 07:01:35 +0000 (04:01 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 2 Oct 2012 17:03:47 +0000 (14:03 -0300)
commit81c9bcfbefec212548058eeac612d98dc9290d55
tree3e3c7c15daaa80ddbad6b3eab7f15bc60c3238df
parentd2331c991354a50bf65d114b2e88d77980223035
[media] s5p-mfc: Fix misplaced return statement in s5p_mfc_suspend()

return statement was wrongly placed before a code that needs to be
executed. Moved the return statement to the end of the function.
Tested suspend/resume on SMDK4412 board using 3.5-rc6 kernel.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c