提交 5e805eff 编写于 作者: M Michael Krufky 提交者: Mauro Carvalho Chehab

V4L/DVB (3572): Cxusb: conditionalize gpio write for the medion box

This patch removes the (harmless) -ETIMEDOUT during device init
for the DViCO FusionHDTV Bluebird boxes, by conditionalizing the
gpio write inside cxusb_i2c_xfer to happen only for Medion boxes.
Signed-off-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 5245953e
...@@ -85,6 +85,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num) ...@@ -85,6 +85,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num)
for (i = 0; i < num; i++) { for (i = 0; i < num; i++) {
if (d->udev->descriptor.idVendor == USB_VID_MEDION)
switch (msg[i].addr) { switch (msg[i].addr) {
case 0x63: case 0x63:
cxusb_gpio_tuner(d,0); cxusb_gpio_tuner(d,0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册