diff options
Diffstat (limited to 'drivers/media/dvb/dvb-usb/cxusb.c')
-rw-r--r-- | drivers/media/dvb/dvb-usb/cxusb.c | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/drivers/media/dvb/dvb-usb/cxusb.c b/drivers/media/dvb/dvb-usb/cxusb.c index e14bf43941e3..61d19ced495a 100644 --- a/drivers/media/dvb/dvb-usb/cxusb.c +++ b/drivers/media/dvb/dvb-usb/cxusb.c | |||
@@ -85,14 +85,15 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap,struct i2c_msg msg[],int num) | |||
85 | 85 | ||
86 | for (i = 0; i < num; i++) { | 86 | for (i = 0; i < num; i++) { |
87 | 87 | ||
88 | switch (msg[i].addr) { | 88 | if (d->udev->descriptor.idVendor == USB_VID_MEDION) |
89 | case 0x63: | 89 | switch (msg[i].addr) { |
90 | cxusb_gpio_tuner(d,0); | 90 | case 0x63: |
91 | break; | 91 | cxusb_gpio_tuner(d,0); |
92 | default: | 92 | break; |
93 | cxusb_gpio_tuner(d,1); | 93 | default: |
94 | break; | 94 | cxusb_gpio_tuner(d,1); |
95 | } | 95 | break; |
96 | } | ||
96 | 97 | ||
97 | /* read request */ | 98 | /* read request */ |
98 | if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) { | 99 | if (i+1 < num && (msg[i+1].flags & I2C_M_RD)) { |