summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/oprof.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-14 11:27:34 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-26 15:58:48 -0300
commit0e7830b50b20fcc25f21f79b7734102284d7c8f9 (patch)
tree9d043cd20dd680a07202001e9949e6bced7bfeb7 /drivers/oprofile/oprof.c
parentbc36ec746409e4e4719b94a86dc0d8cbeb6f439f (diff)
downloadop-kernel-dev-0e7830b50b20fcc25f21f79b7734102284d7c8f9.zip
op-kernel-dev-0e7830b50b20fcc25f21f79b7734102284d7c8f9.tar.gz
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>
Diffstat (limited to 'drivers/oprofile/oprof.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud