]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
V4L/DVB: saa7146: fix regression of the av7110/budget-av driver
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 24 Mar 2010 22:09:55 +0000 (19:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 6 May 2010 22:20:50 +0000 (19:20 -0300)
commit03b1930efd3c2320b1dcba76c8af15f7e454919d
tree436dfae66ed4444578bc7d14cc43600a4f5119e1
parentd2f2d6d0a11e892263ea511e46af449113fd2081
V4L/DVB: saa7146: fix regression of the av7110/budget-av driver

An earlier regression fix for the mxb driver (V4L/DVB: saa7146_vv: fix
regression where v4l2_device was registered too late) caused a new
regression in the av7110 driver.

Reverted the old fix and fixed the problem in the mxb driver instead.
Tested on mxb and budget-av cards.

The real problem is that the saa7146 framework has separate probe()
and attach() driver callbacks which should be rolled into one. This
is now done for the mxb driver, but others should do the same. Lack
of hardware makes this hard to do, though. I hope to get hold of some
hexium cards and then I can try to improve the framework to prevent
this from happening again.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/saa7146_fops.c
drivers/media/video/hexium_gemini.c
drivers/media/video/hexium_orion.c
drivers/media/video/mxb.c
include/media/saa7146_vv.h