Wenbing Wang af44ad5edd [media] soc_camera: error dev remove and v4l2 call
in soc_camera_close(), if ici->ops->remove() removes device firstly,
and then call __soc_camera_power_off(), it has logic error. Since
if remove device, it should disable subdev clk. but in __soc_camera_
power_off(), it will callback v4l2 s_power function which will
read/write subdev registers to control power by i2c. and then
i2c read/write will fail because of clk disable.
So suggest to re-sequence two functions call.
Change-Id: Iee7a6d4fc7c7c1addb5d342621eb8dcd00fa2745

Signed-off-by: Wenbing Wang <wangwb@marvell.com>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2013-06-08 21:51:06 -03:00
..
2013-04-05 19:29:36 -07:00
2013-04-09 18:03:25 +01:00
2013-04-05 21:02:17 +08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-01 13:39:00 -08:00
2013-03-27 09:25:11 -07:00
2013-04-19 17:57:48 -04:00
2013-02-27 19:10:18 -08:00
2013-02-26 09:34:29 -08:00
2013-04-07 15:11:27 +03:00
2013-02-27 19:10:18 -08:00
2013-04-05 10:04:41 -07:00
2013-04-26 07:59:23 -07:00
2013-02-27 19:10:19 -08:00
2013-04-10 15:57:33 -07:00
2013-02-22 23:31:31 -05:00