]> git.baikalelectronics.ru Git - kernel.git/commit
[media] soc-camera: Unregister v4l2 clock in the OF bind error path
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 9 Mar 2015 06:39:33 +0000 (03:39 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 2 Apr 2015 21:36:33 +0000 (18:36 -0300)
commit4f7fa99b126e52049d0eef6c4aa9d52af1c755ff
tree811546aa268c44c092ff45eeca0736e4fe2cfd0f
parent1b08024ad79483aef799e3d48de7eb566bb8d97d
[media] soc-camera: Unregister v4l2 clock in the OF bind error path

The v4l2 clock registered in soc_of_bind() must be unregistered if an
error occurs and makes the function fail.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/soc_camera/soc_camera.c