diff options
| author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-07-30 15:01:55 +0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-08-18 16:03:12 +0400 |
| commit | 23272427ccf70d40b3abb81ea92f505adc1bdcd1 (patch) | |
| tree | d1f6c54b047f7a755ad65c5bf1a14d7ca65f48c6 /include/linux | |
| parent | 85e86c6e8d400c6b794e971ee14251e7ad3467aa (diff) | |
| download | linux-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
