[media] s5p-g2d: Fix error handling
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 19 Feb 2017 17:30:22 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Apr 2017 19:37:15 +0000 (16:37 -0300)
commit2f65ec0567f77b75f459c98426053a3787af356a
tree88db074c18276fef113657763afcc1d9195bd46b
parentd251510d4c2b6ffa42dfe6c270e1965daa23eca6
[media] s5p-g2d: Fix error handling

According to the surrounding goto, it is likely that 'unprep_clk_gate'
was expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/s5p-g2d/g2d.c