summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>2013-07-30 15:01:55 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-08-18 16:03:12 +0400
commit23272427ccf70d40b3abb81ea92f505adc1bdcd1 (patch)
treed1f6c54b047f7a755ad65c5bf1a14d7ca65f48c6 /include/linux
parent85e86c6e8d400c6b794e971ee14251e7ad3467aa (diff)
downloadlinux-23272427ccf70d40b3abb81ea92f505adc1bdcd1.tar.xz
[media] V4L2: soc-camera: fix requesting regulators in synchronous case
With synchronous subdevice probing regulators should be requested by the soc-camera core in soc_camera_pdrv_probe(). Subdevice drivers, supporting asynchronous probing, call soc_camera_power_init() to request regulators. Erroneously, the same regulator array is used in the latter case as in the former, which leads to a failure. This patch fixes it by preventing the second regulator request from being executed. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions