[PATCH] mioa701: fix camera regression

Robert Jarzmik robert.jarzmik at free.fr
Tue Jun 8 13:31:58 EDT 2010


> On Wed, 2 Jun 2010, Robert Jarzmik wrote:
>
>> Since commit a48c24a696f0d93c49f913b7818e9819612b1f4e, the
>> camera is not working anymore.
>> 
>> After the v4l2 migration, the mt9m111 camera board
>> information was not passed to the i2c layer anymore, but
>> stored for future use of v4l2 (through soc_camera).
>> 
>> Because mioa701_i2c_devices[] was tagged as "__initdata",
>> and because after the v4l2 migration, the new structure
>> "iclink" references it, the mt9m111 driver is not probed
>> anymore, as part of "iclink" is not valid (discarded after
>> kernel init).
>> 
>> Although there is not compilation error, nor runtime oops,
>> this patch restores a working camera on the mioa701 board.
>> 
>> Signed-off-by: Robert Jarzmik <robert.jarzmik at free.fr>
>
> Acked-by: Guennadi Liakhovetski <g.liakhovetski at gmx.de>
>
>> 
>> --
>> Eric, could you schedule that into your fix branch please ?

Ping.

--
Robert



More information about the linux-arm-kernel mailing list