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
---
drivers/media/i2c/soc_camera/mt9t031.c |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers
Le Thursday 12 March 2009 18:02:19 Guennadi Liakhovetski, vous avez écrit :
> On Fri, 6 Mar 2009, Philippe Rétornaz wrote:
> > - The clock polarity is inverted in mt9t031_set_bus_param(), use the
> > correct one.
> >
> > diff --git a/drivers/media/video/mt9t031.c
> > b/drivers/media/video/mt9t031
- The video device is not allocated when mt9t031_init() is called, don't use
it in debug printk.
- The clock polarity is inverted in mt9t031_set_bus_param(), use the correct
one.
Signed-off-by: Philippe Rétornaz
---
diff --git a/drivers/media/video/mt9t031.c b/drivers/media/video/mt9t