[media] imx074: fix error handling for failed async subdevice registration
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 18 Apr 2013 21:35:23 +0000 (18:35 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 31 Oct 2013 06:28:58 +0000 (04:28 -0200)
commit507fcd3da2a28b5342cd0e3eea69b886741adb60
treea9f2abbc5d34020a5a3b88faa4520d98cd1902eb
parent1bfa6e0d1f7f42ea52c79051f027dbcf8f123e41
[media] imx074: fix error handling for failed async subdevice registration

If v4l2_async_register_subdev() fails, don't skip the clean up.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/i2c/soc_camera/imx074.c