diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2013-04-19 01:35:39 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-05-21 14:48:58 +0400 |
commit | bbcc9fa0afe4f8a36e8777e14f7b016090605306 (patch) | |
tree | 33a36a4222528de0bf04d86143b3bd1577fea206 /lib/zlib_deflate | |
parent | 4237c09a63906b980741725da63f85e454caec02 (diff) | |
download | linux-bbcc9fa0afe4f8a36e8777e14f7b016090605306.tar.xz |
[media] mt9p031: Power down the sensor if no supported device has been detected
The mt9p031 driver first accesses the I2C device in its .registered()
method. While doing that it first powers the device up, but if probing
fails, it doesn't power the chip back down. This patch fixes that bug.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/zlib_deflate')
0 files changed, 0 insertions, 0 deletions