Searched hist:bbcc9fa0afe4f8a36e8777e14f7b016090605306 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/media/i2c/ |
H A D | mt9p031.c | diff bbcc9fa0afe4f8a36e8777e14f7b016090605306 Thu Apr 18 16:35:39 CDT 2013 Guennadi Liakhovetski <g.liakhovetski@gmx.de> [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>
|