[media] s5p-fimc: add unlock on error path
authorDan Carpenter <error27@gmail.com>
Thu, 21 Oct 2010 19:22:43 +0000 (16:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 23 Oct 2010 00:03:25 +0000 (22:03 -0200)
commit29adc2c06fd7aa0a26135d8c96afd1cef9e6700b
tree1f1bcde88ad0a8572b998b08e849c7437fb487b4
parentaa55f3a46fe799b3c8396c57f4b4074252f635da
[media] s5p-fimc: add unlock on error path

There was an unlock missing if kzalloc() failed.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/s5p-fimc/fimc-core.c