]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (4723): Bugfix: Select the correct cx8802_dev when enumerating by CX88_MPEG_type
authorSteven Toth <stoth@hauppauge.com>
Fri, 6 Oct 2006 00:28:24 +0000 (21:28 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 10 Dec 2006 10:50:48 +0000 (08:50 -0200)
commit7343826370dd5fe14a2dcec20968f2d3a4431ce6
treeac98be45733975d5af47e94ffb8bdd4bf32cc88d
parent6c5be74c86f102c2d4e123bc51d2fa93155fd794
V4L/DVB (4723): Bugfix: Select the correct cx8802_dev when enumerating by CX88_MPEG_type

A bug in cx8802_get_driver() meant that in multiboard environments, when testing
frontends on the non primary board, the incorrect device was returned resulting
in "Unsupported value in .mpeg.." messages. Depending on the electrical design
of the hardware (serial, parallel, rising/falling edge detect), transport would
still be delivered and the problem went unnoticed.
This patch ensures the correct instance of cx8802_dev is returned.

Signed-off-by: Steven Toth <stoth@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-mpeg.c