[media] V4L: soc-camera: call subdevice .s_power() method, when powering up or down
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 8 Sep 2011 07:36:06 +0000 (04:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:28:46 +0000 (18:28 -0200)
commit7b9d8c3c4cfa0dc21f630c17c5f20e524dab487c
treeedfa0e9f6bbd728195a430dc8ed84c44742fa581
parentfff96b6685d6fec14deaacbce9e27fbb8feed53d
[media] V4L: soc-camera: call subdevice .s_power() method, when powering up or down

Currently soc-camera can use power regulators and platform specific
methods to power clients up and down. Additionally, client drivers can
provide their own subdevice .s_power() methods, acting directly on the
device. This patch adds calls to this method, when external power
supplies are 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