]> err.no Git - linux-2.6/commit
V4L/DVB (3575): Cxusb: fix i2c debug messages for bluebird devices
authorMichael Krufky <mkrufky@linuxtv.org>
Thu, 23 Mar 2006 04:11:18 +0000 (01:11 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 24 Mar 2006 19:26:55 +0000 (16:26 -0300)
commitae62e3d4a8194680023b47ab778bf1dcea8d6b42
treeae95d5dcb341fd826911c307e27b52b23ef92acc
parent4d6e772d989c11af7d7e41095f976cff5eeb43f3
V4L/DVB (3575): Cxusb: fix i2c debug messages for bluebird devices

Only the Medion boxes return 0x08 after an i2c read/write.
The bluebird devices do not return anything at all.
This patch conditionalizes the test for the 0x08 return code
to produce a warning message when using the Medion box, only.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-usb/cxusb.c
drivers/media/dvb/dvb-usb/cxusb.h