Re: [PATCH 18/24] V4L2: mt9p031: power down the sensor if no supported device has been detected

2013-04-22 Thread Laurent Pinchart
Hi Guennadi, Thanks for the patch. On Thursday 18 April 2013 23:35:39 Guennadi Liakhovetski wrote: The mt9p031 driver first accesses the I2C device in its .registered() method. While doing that it furst powers the device up, but if probing s/furst/first/ fails, it doesn't power the chip

Re: [PATCH 18/24] V4L2: mt9p031: power down the sensor if no supported device has been detected

2013-04-22 Thread Guennadi Liakhovetski
Hi Laurent On Mon, 22 Apr 2013, Laurent Pinchart wrote: Hi Guennadi, Thanks for the patch. On Thursday 18 April 2013 23:35:39 Guennadi Liakhovetski wrote: The mt9p031 driver first accesses the I2C device in its .registered() method. While doing that it furst powers the device up, but

[PATCH 18/24] V4L2: mt9p031: power down the sensor if no supported device has been detected

2013-04-18 Thread Guennadi Liakhovetski
The mt9p031 driver first accesses the I2C device in its .registered() method. While doing that it furst 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.liakhovet...@gmx.de ---