android_kernel_motorola_sm6225/drivers/media/dvb
Mauro Carvalho Chehab 0e7830b50b V4L/DVB (8029): Improve error message at tda1004x_attach
When an error occurs at firmware loading, sometimes, tda1004x stops answering.
Instead of reporting such error, attach code were assuming that the device were
answering an invalid ID (0xff). This can be seen when enabling debug options:

tda1004x: tda1004x_read_byte: reg=0x0
tda1004x: tda1004x_read_byte: error reg=0x0, ret=-5

Now, instead of reporting an invalid ID, it will report the correct error:

tda10046: chip is not answering. Giving up.
saa7133[0]/dvb: failed to attach tda10046
saa7133[0]/dvb: frontend initialization failed

A possible improvement would be trying to reset the device.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-26 15:58:48 -03:00
..
b2c2 V4L/DVB (7959): endianness fix in flexcop-usb.c 2008-06-05 06:35:48 -03:00
bt8xx V4L/DVB (7851): Fix FW_LOADER depencency at v4l/dvb 2008-05-14 02:54:08 -03:00
cinergyT2 V4L/DVB (7956): cinergyT2: endianness annotations, endianness and race fixes 2008-06-05 06:35:47 -03:00
dvb-core V4L/DVB (7960): net: endianness annotations 2008-06-05 06:35:48 -03:00
dvb-usb V4L/DVB (8015): gl861: replace non critical msleep(0) with msleep(1) to be on the safe side 2008-06-26 15:58:44 -03:00
frontends V4L/DVB (8029): Improve error message at tda1004x_attach 2008-06-26 15:58:48 -03:00
pluto2 V4L/DVB (7538): Adds selectable adapter numbers as per module option 2008-04-24 14:08:00 -03:00
ttpci V4L/DVB (8004): Fix INPUT dependency at budget-ci 2008-06-26 15:58:41 -03:00
ttusb-budget V4L/DVB (7962): ttusb endianness annotations and fixes 2008-06-05 06:35:49 -03:00
ttusb-dec V4L/DVB (7962): ttusb endianness annotations and fixes 2008-06-05 06:35:49 -03:00
Kconfig V4L/DVB(7767): Move tuners to common/tuners 2008-04-29 18:41:37 -03:00
Makefile [PATCH] dvb: add Pluto2 driver 2005-07-07 18:23:55 -07:00