1
linux/drivers/media/common/tuners
Michael Krufky fab9bfbed2 V4L/DVB: tda18271: fix error detection during initialization of first instance
Fix error detection of failures during initialization of first instance:
Dont pass a function into the tda_fail macro. Instead, save the function
return value and pass that into the tda_fail macro.

This prevents the function from being called twice in cases of failure,
for example:

[19026.074070] tuner 4-0060: chip found @ 0xc0 (device #0)
[19026.087755] tda18271 4-0060: creating new instance
[19026.089965] Unknown device detected @ 4-0060, device not supported.
[19026.092233] Unknown device detected @ 4-0060, device not supported.
[19026.092241] tda18271_attach: [4-0060|M] error -22 on line 1275
[19026.092327] tda18271 4-0060: destroying instance

Signed-off-by: Michael Krufky <mkrufky@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-08-02 14:48:43 -03:00
..
Kconfig V4L/DVB (13373): Maxium MAX2165 silicon tuner 2009-12-05 18:41:33 -02:00
Makefile V4L/DVB (13373): Maxium MAX2165 silicon tuner 2009-12-05 18:41:33 -02:00
max2165_priv.h V4L/DVB (13373): Maxium MAX2165 silicon tuner 2009-12-05 18:41:33 -02:00
max2165.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
max2165.h V4L/DVB (13373): Maxium MAX2165 silicon tuner 2009-12-05 18:41:33 -02:00
mc44s803_priv.h V4L/DVB (10452): Add Freescale MC44S803 tuner driver 2009-03-30 12:42:39 -03:00
mc44s803.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mc44s803.h V4L/DVB (10452): Add Freescale MC44S803 tuner driver 2009-03-30 12:42:39 -03:00
mt20xx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mt20xx.h
mt2060_priv.h
mt2060.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mt2060.h
mt2131_priv.h
mt2131.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mt2131.h
mt2266.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
mt2266.h
mxl5005s.c V4L/DVB (13331): mxl5005s: provide ability to override QAM gain for HVR-1600 2009-12-05 18:41:23 -02:00
mxl5005s.h V4L/DVB (13331): mxl5005s: provide ability to override QAM gain for HVR-1600 2009-12-05 18:41:23 -02:00
mxl5007t.c V4L/DVB: Fix test in copy_reg_bits() 2009-12-05 18:41:45 -02:00
mxl5007t.h
qt1010_priv.h
qt1010.c V4L/DVB (12341): zl10353 and qt1010: fix stack corruption bug 2009-08-13 20:39:02 -03:00
qt1010.h
tda827x.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tda827x.h
tda8290.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tda8290.h
tda9887.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tda9887.h
tda18271-common.c V4L/DVB (13214): tda18271: allow for i2c buses that cant send 16 bytes at once 2009-12-05 18:40:55 -02:00
tda18271-fe.c V4L/DVB: tda18271: fix error detection during initialization of first instance 2010-08-02 14:48:43 -03:00
tda18271-maps.c V4L/DVB (13112): tda18271: display some state information in debug output 2009-12-05 18:40:24 -02:00
tda18271-priv.h V4L/DVB (13214): tda18271: allow for i2c buses that cant send 16 bytes at once 2009-12-05 18:40:55 -02:00
tda18271.h V4L/DVB (13214): tda18271: allow for i2c buses that cant send 16 bytes at once 2009-12-05 18:40:55 -02:00
tea5761.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tea5761.h
tea5767.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tea5767.h
tuner-i2c.h include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
tuner-simple.c V4L/DVB: tuner: Add a definition for the Philips FQ1236 MK5 NTSC tuner 2010-07-08 16:49:53 -03:00
tuner-simple.h
tuner-types.c V4L/DVB: tuner: Add a definition for the Philips FQ1236 MK5 NTSC tuner 2010-07-08 16:49:53 -03:00
tuner-xc2028-types.h
tuner-xc2028.c V4L/DVB: xc3028: fix regression in firmware loading time 2010-05-18 00:43:45 -03:00
tuner-xc2028.h V4L/DVB (12825): tm6000: I2C reading operations is not reliable on tm6000 2010-05-18 00:40:06 -03:00
xc5000.c V4L/DVB (13188): xc5000: return an error on tuning attempts if firmware not loaded 2009-12-05 18:40:48 -02:00
xc5000.h V4L/DVB (13076): xc5000: make the definition of the FM input part of the xc5000 config struct 2009-12-05 18:40:13 -02:00