The video device is not yet valid when probe() is called.
Call directly soc_camera_power_on/off() instead of calling mt9t031_s_power().
Signed-off-by: Philippe Rétornaz philippe.retor...@epfl.ch
---
drivers/media/i2c/soc_camera/mt9t031.c |5 +++--
1 file changed, 3 insertions(+), 2
Hi Philippe
On Wed, 8 May 2013, Philippe Rétornaz wrote:
The video device is not yet valid when probe() is called.
Call directly soc_camera_power_on/off() instead of calling mt9t031_s_power().
Signed-off-by: Philippe Rétornaz philippe.retor...@epfl.ch
There is already a patch for this: