Re: [PATCH 1/1] mt9t031: Fix panic on probe

2013-05-08 Thread Guennadi Liakhovetski
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 There is already a patch for this: https://patchwork.kernel

[PATCH 1/1] mt9t031: Fix panic on probe

2013-05-08 Thread Philippe Rétornaz
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/