]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] V4L: soc-camera: call soc_camera_power_on() after adding the client to the...
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 14 Mar 2012 10:22:07 +0000 (07:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 20 Mar 2012 01:11:05 +0000 (22:11 -0300)
commit7705b6d8eac89067e5177835468c99e71e2cd40c
tree2bedd0b37c847458ea13e9abbad7e7f662e5cf1c
parent5da6e984805786c4d96498e1c51e971007dea6dc
[media] V4L: soc-camera: call soc_camera_power_on() after adding the client to the host

soc_camera_power_on() calls client's .s_power(1) method, which can try to
access the client hardware. This, however, is typically only possible,
after calling host's .add() method, because that's where the host driver
usually turns the master clock on.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/soc_camera.c