From mboxrd@z Thu Jan 1 00:00:00 1970 From: robert.jarzmik@free.fr (Robert Jarzmik) Date: Tue, 08 Jun 2010 19:31:58 +0200 Subject: [PATCH] mioa701: fix camera regression In-Reply-To: (Guennadi Liakhovetski's message of "Thu\, 3 Jun 2010 20\:59\:09 +0200 \(CEST\)") References: <1275514190-32006-1-git-send-email-robert.jarzmik@free.fr> Message-ID: <87pr01mnw1.fsf@free.fr> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > 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 > > Acked-by: Guennadi Liakhovetski > >> >> -- >> Eric, could you schedule that into your fix branch please ? Ping. -- Robert