]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (10250): cx25840: fix regression: fw not loaded on first use
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 15 Jan 2009 08:37:14 +0000 (05:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 29 Jan 2009 10:38:23 +0000 (08:38 -0200)
commitba390f005573bdf6ab7fd78bb05119036c2ed539
tree971a5167757a6e534a4dd8b4bb2887283bf70db2
parentcf8e193a48879a02f55b53c0cf2ec98a784baaa5
V4L/DVB (10250): cx25840: fix regression: fw not loaded on first use

With the conversion to v4l2_subdev one bit of code was accidentally dropped:
on receiving the first command the driver has to load the fw. A new init()
command was introduced to do that explicitly for bridge drivers that are
converted to use v4l2_subdev, but old drivers that are not yet converted
no longer worked.

This patch fixes this regression for these old drivers.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-core.c