]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
V4L: fix cx25840 firmware loading
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 15 Feb 2007 06:40:34 +0000 (03:40 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:23 +0000 (10:50 -0800)
commit943918d8b5f7fc9ca653dd87a6848d292d83b120
tree52c9251386e300625d2e08e126227da3779c1ce2
parent87edb548fae703ff743bf5204147e24dc504eb84
V4L: 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.

(cherry picked from commit d55c7aec666658495e5b57a6b194c8c2a1ac255f)

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/cx25840/cx25840-firmware.c