V4L/DVB: mt9m111: init chip after read CHIP_VERSION
authorMichael Grzeschik <m.grzeschik@pengutronix.de>
Tue, 3 Aug 2010 10:57:40 +0000 (07:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Aug 2010 02:43:03 +0000 (23:43 -0300)
commit175bad921c75ab3b7d11a9fffc0e8d9a4a179e61
tree054a9d23be1caa9501702d044d6498ec8abed253
parentc8cf078ebd9f9b5ec3a113c8262062799fd9948a
V4L/DVB: mt9m111: init chip after read CHIP_VERSION

Moved mt9m111_init after the chip version detection passage: I
don't like the idea of writing on a device we haven't identified
yet.

Signed-off-by: Philipp Wiesner <p.wiesner@phytec.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mt9m111.c