linux/drivers/media/common/tuners
Michael Krufky 48723543af V4L/DVB (7893): xc5000: bug-fix: allow multiple devices in a single system
The current code passes a context pointer in the xc5000_config struct.
This context pointer is used in the tuner_callback function, used to
reset the device after firmware download.

The xc5000_config struct is a static structure, whose .priv member was
being assigned before calling xc5000_attach().  If there are more than
one of the same device type installed on a single system, the last one
to assign xc5000_config.priv will "win", and all others will cease to
function properly.

This patch passes the context pointer in xc5000_attach() rather that
storing it within the static struct xc5000_config.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-05-14 02:56:46 -03:00
..
Kconfig V4L/DVB(7878): mxl55005s: Makefile and Kconfig additions 2008-05-14 02:56:42 -03:00
Makefile V4L/DVB(7878): mxl55005s: Makefile and Kconfig additions 2008-05-14 02:56:42 -03:00
mt20xx.c
mt20xx.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mt2060.c V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
mt2060.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mt2060_priv.h V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
mt2131.c V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
mt2131.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mt2131_priv.h V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
mt2266.c V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
mt2266.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
mxl5005s.c V4L/DVB(7877): mxl5005s: Ensure debug is off 2008-05-14 02:56:41 -03:00
mxl5005s.h V4L/DVB(7873): mxl5005s: Fix header includes. 2008-05-14 02:56:40 -03:00
qt1010.c V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
qt1010.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
qt1010_priv.h V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
tda827x.c
tda827x.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tda8290.c V4L/DVB (7789): tuner: remove static dependencies on analog tuner sub-modules 2008-04-29 18:41:42 -03:00
tda8290.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tda9887.c
tda9887.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tda18271-common.c V4L/DVB (7844): tda18271: add tda_fail macro to log error cases 2008-05-14 02:54:06 -03:00
tda18271-fe.c V4L/DVB (7844): tda18271: add tda_fail macro to log error cases 2008-05-14 02:54:06 -03:00
tda18271-maps.c
tda18271-priv.h V4L/DVB (7844): tda18271: add tda_fail macro to log error cases 2008-05-14 02:54:06 -03:00
tda18271.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tea5761.c
tea5761.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tea5767.c V4L/DVB (7804): tea5767: Fix error logic 2008-05-14 02:53:58 -03:00
tea5767.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tuner-i2c.h
tuner-simple.c
tuner-simple.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
tuner-types.c
tuner-xc2028-types.h
tuner-xc2028.c
tuner-xc2028.h Rename common tuner Kconfig names to use the same 2008-04-29 18:41:38 -03:00
xc5000.c V4L/DVB (7893): xc5000: bug-fix: allow multiple devices in a single system 2008-05-14 02:56:46 -03:00
xc5000.h V4L/DVB (7893): xc5000: bug-fix: allow multiple devices in a single system 2008-05-14 02:56:46 -03:00
xc5000_priv.h V4L/DVB (7893): xc5000: bug-fix: allow multiple devices in a single system 2008-05-14 02:56:46 -03:00