android_kernel_xiaomi_sm8350/drivers/media/video/saa7134
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
..
Kconfig V4L/DVB (7851): Fix FW_LOADER depencency at v4l/dvb 2008-05-14 02:54:08 -03:00
Makefile V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00
saa6752hs.c
saa7134-alsa.c V4L/DVB (8026): Avoids an OOPS if dev struct can't be successfully recovered 2008-06-26 15:58:47 -03:00
saa7134-cards.c V4L/DVB (8027): saa7134: Avermedia A700: only s-video and composite input are working 2008-06-26 15:58:47 -03:00
saa7134-core.c V4L/DVB (7881): saa7134: fixed a compile warning in saa7134-core.c 2008-05-14 02:56:43 -03:00
saa7134-dvb.c V4L/DVB (8028): Improve error messages for tda1004x attach 2008-06-26 15:58:48 -03:00
saa7134-empress.c V4L/DVB (8022): saa7134: fix race between opening and closing the device 2008-06-26 15:58:46 -03:00
saa7134-i2c.c V4L/DVB (7753): saa7134: fix tuner setup 2008-04-29 18:41:33 -03:00
saa7134-input.c V4L/DVB (7765): Add support for Beholder BeholdTV H6 2008-04-29 18:41:36 -03:00
saa7134-reg.h V4L/DVB (7390): saa7134: clear audio DSP interface after access error 2008-04-24 14:07:52 -03:00
saa7134-ts.c
saa7134-tvaudio.c V4L/DVB (7390): saa7134: clear audio DSP interface after access error 2008-04-24 14:07:52 -03:00
saa7134-vbi.c
saa7134-video.c fix irq flags in saa7134 2008-05-08 10:46:55 -07:00
saa7134.h V4L/DVB (7765): Add support for Beholder BeholdTV H6 2008-04-29 18:41:36 -03:00