V4L/DVB (5255): Fix cx25840 firmware loading.
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 15 Feb 2007 06:40:34 +0000 (03:40 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 1 Mar 2007 15:09:44 +0000 (13:09 -0200)
commitd55c7aec666658495e5b57a6b194c8c2a1ac255f
tree90a4cc31656b2e264533b4c2433b841e29c603d7
parent2ff7354fe888f46f6629b57e463b0a1eb956c02b
V4L/DVB (5255): Fix cx25840 firmware loading.

Due to changes in the i2c handling in 2.6.20 this cx25840 bug surfaced,
causing the firmware load to fail for the ivtv driver. The correct
sequence is to first attach the i2c client, then use the client's
device to load the firmware.
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/cx25840/cx25840-firmware.c