summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/soc_camera/atmel-isi.c
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-01-03 11:21:02 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-01-05 01:35:54 -0200
commit8a97d4c11756ab6bab8582126d0f1b5c00b067ad (patch)
treeb8f5043edc341af33c67c886cf050db5ee362311 /drivers/media/platform/soc_camera/atmel-isi.c
parent7d051b35d5196ad6011a17e751dbd3d180abb046 (diff)
downloadblackbird-op-linux-8a97d4c11756ab6bab8582126d0f1b5c00b067ad.tar.gz
blackbird-op-linux-8a97d4c11756ab6bab8582126d0f1b5c00b067ad.zip
[media] soc-camera: fix repeated regulator requesting
Currently devm_regulator_bulk_get() is called by soc-camera during host driver probing, but regulators are attached to the camera platform device, that is staying, independent whether the host probed successfully or not. This can lead to repeated regulator requesting, if the host driver is re-probed. Move the call to platform device probing to avoid this. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/soc_camera/atmel-isi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud