android_kernel_xiaomi_sm8350/drivers/media/dvb/frontends
Mauro Carvalho Chehab bc36ec7464 V4L/DVB (8028): Improve error messages for tda1004x attach
A fresh copy of v.29 firmware, using get_firmware, is leading to an invalid
firmware:

DVB: registering new adapter (saa7133[0])
DVB: registering frontend 0 (Philips TDA10046H DVB-T)...
tda1004x: setting up plls for 48MHz sampling clock
tda1004x: found firmware revision ff -- invalid
tda1004x: trying to boot from eeprom
tda1004x: found firmware revision ff -- invalid
tda1004x: waiting for firmware upload...
tda1004x: Error during firmware upload
tda1004x: found firmware revision ff -- invalid
tda1004x: firmware upload failed

Sometimes, loading/unloading this firmware makes tda1004x to return an invalid
ID. However, there were no printk messages to help to identify what were the
cause for the error.

With this patch, it will now print:

Invalid tda1004x ID = 0xff. Can't proceed
saa7133[0]/dvb: failed to attach tda10046
saa7133[0]/dvb: frontend initialization failed

Tested with LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-26 15:58:48 -03:00
..
au8522.c V4L/DVB (7639): au8522: fix a small bug introduced by Checkpatch cleanup 2008-04-24 14:09:43 -03:00
au8522.h V4L/DVB (7638): CodingStyle fixes for au8522 and au0828 2008-04-24 14:09:43 -03:00
bcm3510_priv.h
bcm3510.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
bcm3510.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
bsbe1.h V4L/DVB (7660): bsbe1: Use settings recommended by the manufacturer 2008-04-24 14:09:45 -03:00
bsru6.h V4L/DVB (7662): stv0299: Fixed some typos 2008-04-24 14:09:45 -03:00
cx22700.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
cx22700.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
cx22702.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
cx22702.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
cx24110.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
cx24110.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
cx24113.h V4L/DVB (7471): SkyStar2: preparing support for the rev2.8 2008-04-24 14:09:40 -03:00
cx24123.c V4L/DVB (7470): CX24123: preparing support for CX24113 tuner 2008-04-24 14:07:56 -03:00
cx24123.h V4L/DVB (7470): CX24123: preparing support for CX24113 tuner 2008-04-24 14:07:56 -03:00
dib0070.c V4L/DVB (7073): DiB7070: Reception quality improved 2008-01-25 19:05:19 -02:00
dib0070.h V4L/DVB (8001): dib0070: fix dib0070_attach when !CONFIG_DVB_TUNER_DIB0070 2008-06-05 10:26:21 -03:00
dib3000.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
dib3000mb_priv.h
dib3000mb.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
dib3000mc.c V4L/DVB (7070): Fix some tuning problems 2008-01-25 19:05:17 -02:00
dib3000mc.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
dib7000m.c V4L/DVB (7070): Fix some tuning problems 2008-01-25 19:05:17 -02:00
dib7000m.h
dib7000p.c V4L/DVB (7672): dib7000p: Add output mode param to the attach struct 2008-04-24 14:09:45 -03:00
dib7000p.h V4L/DVB (7916): dib7000p: fix dib7000p_attach when !CONFIG_DVB_DIB7000P 2008-06-05 06:35:43 -03:00
dibx000_common.c
dibx000_common.h V4L/DVB (7074): DiB7000P: correct tuning problem for 7MHz channel 2008-01-25 19:05:20 -02:00
dvb_dummy_fe.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
dvb_dummy_fe.h
dvb-pll.c V4L/DVB (7427): dvb-pll: remove rf input module options 2008-04-24 14:07:54 -03:00
dvb-pll.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
isl6405.c V4L/DVB (7224): Initial DVB-S support for MD8800 /CTX948 2008-04-24 14:07:43 -03:00
isl6405.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
isl6421.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
isl6421.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
itd1000_priv.h V4L/DVB (7569): Added support for SkyStar2 rev2.7 and ITD1000 DVB-S tuner 2008-04-24 14:09:40 -03:00
itd1000.c V4L/DVB (7857): make itd1000_fre_values[] static const 2008-05-14 02:54:10 -03:00
itd1000.h V4L/DVB (7569): Added support for SkyStar2 rev2.7 and ITD1000 DVB-S tuner 2008-04-24 14:09:40 -03:00
Kconfig V4L/DVB (7861): mt312: Prefix functions only with mt312_, Add zl10313 to kconfig description 2008-05-14 02:54:12 -03:00
l64781.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
l64781.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
lgdt330x_priv.h
lgdt330x.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
lgdt330x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
lnbp21.c V4L/DVB (6079): Cleanup: remove linux/moduleparam.h from drivers/media files 2007-10-09 22:06:17 -03:00
lnbp21.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
Makefile V4L/DVB (7769): Move other terrestrial tuners to common/tuners 2008-04-29 18:41:38 -03:00
mt312_priv.h V4L/DVB (7574): mt312: Add support for zl10313 demod 2008-04-24 14:09:40 -03:00
mt312.c V4L/DVB (7861): mt312: Prefix functions only with mt312_, Add zl10313 to kconfig description 2008-05-14 02:54:12 -03:00
mt312.h V4L/DVB (7861): mt312: Prefix functions only with mt312_, Add zl10313 to kconfig description 2008-05-14 02:54:12 -03:00
mt352_priv.h
mt352.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
mt352.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
nxt200x.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
nxt200x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
nxt6000_priv.h
nxt6000.c V4L/DVB (7094): static memory 2008-04-24 13:42:20 -03:00
nxt6000.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
or51132.c V4L/DVB (7972): or51132.c: unaligned 2008-06-05 06:35:53 -03:00
or51132.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
or51211.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
or51211.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
s5h1409.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
s5h1409.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
s5h1411.c V4L/DVB (7741): s5h1411: Adding support for this ATSC/QAM demodulator 2008-04-26 09:29:56 -03:00
s5h1411.h V4L/DVB (7741): s5h1411: Adding support for this ATSC/QAM demodulator 2008-04-26 09:29:56 -03:00
s5h1420_priv.h V4L/DVB (7568): Support for DVB-S demod PN1010 (clone of S5H1420) added 2008-04-24 14:09:39 -03:00
s5h1420.c V4L/DVB (7783): drivers/media/dvb/frontends/s5h1420.c: printk fix 2008-04-29 18:41:41 -03:00
s5h1420.h V4L/DVB (7568): Support for DVB-S demod PN1010 (clone of S5H1420) added 2008-04-24 14:09:39 -03:00
sp887x.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
sp887x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
sp8870.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
sp8870.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
stv0297.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
stv0297.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
stv0299.c V4L/DVB (7661): stv0299: Add flag to turn off OP0 output 2008-04-24 14:09:45 -03:00
stv0299.h V4L/DVB (7662): stv0299: Fixed some typos 2008-04-24 14:09:45 -03:00
tda826x.c V4L/DVB (7656): tda826x: Calculate cut off fequency from symbol rate 2008-04-24 14:09:44 -03:00
tda826x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda1002x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda1004x.c V4L/DVB (8028): Improve error messages for tda1004x attach 2008-06-26 15:58:48 -03:00
tda1004x.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda8083.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda8083.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda10021.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda10023.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tda10048.c V4L/DVB (7674): tda10048: Adding an SNR table 2008-04-24 14:09:45 -03:00
tda10048.h V4L/DVB (7644): Adding support for the NXP TDA10048HN DVB OFDM demodulator 2008-04-24 14:09:44 -03:00
tda10086.c V4L/DVB (7655): tda10086 coding stlye fixes 2008-04-24 14:09:44 -03:00
tda10086.h V4L/DVB (7655): tda10086 coding stlye fixes 2008-04-24 14:09:44 -03:00
tua6100.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
tua6100.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ves1x93.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ves1x93.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ves1820.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
ves1820.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
zl10353_priv.h V4L/DVB (6856): zl10353: improve tuning parameters and update register map 2008-01-25 19:04:03 -02:00
zl10353.c V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00
zl10353.h V4L/DVB (7514): media/dvb/frontends replace remaining __FUNCTION__ occurrences 2008-04-24 14:07:58 -03:00