diff options
| author | Wenbing Wang <[email protected]> | 2013-06-05 09:37:14 +0000 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2013-06-09 00:51:06 +0000 |
| commit | af44ad5edd1eb6ca92ed5be48e0004e1f04bf219 (patch) | |
| tree | b6072a0041086ec710243ebec0a2e488b2a88ad0 /drivers/media/v4l2-core/v4l2-async.c | |
| parent | [media] sh_veu: fix the buffer size calculation (diff) | |
| download | kernel-af44ad5edd1eb6ca92ed5be48e0004e1f04bf219.tar.gz kernel-af44ad5edd1eb6ca92ed5be48e0004e1f04bf219.zip | |
[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 <[email protected]>
Signed-off-by: Guennadi Liakhovetski <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-async.c')
0 files changed, 0 insertions, 0 deletions
