diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-08-21 10:55:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-09-03 09:33:20 -0400 |
commit | 41150cb9f51df07e78d82c196931c913633c95a0 (patch) | |
tree | 696122b67e2e3beaba12e34386e308d26787b885 | |
parent | 888bd5dcb68437273ffc3752c4976f851205b25d (diff) |
[media] cxusb: fix sparse warning
drivers/media/usb/dvb-usb/cxusb.c:178:40: warning: restricted __le16 degrades to integer
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
-rw-r--r-- | drivers/media/usb/dvb-usb/cxusb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index 187d52942ebb..356abb369c20 100644 --- a/drivers/media/usb/dvb-usb/cxusb.c +++ b/drivers/media/usb/dvb-usb/cxusb.c | |||
@@ -176,7 +176,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[], | |||
176 | 176 | ||
177 | for (i = 0; i < num; i++) { | 177 | for (i = 0; i < num; i++) { |
178 | 178 | ||
179 | if (d->udev->descriptor.idVendor == USB_VID_MEDION) | 179 | if (le16_to_cpu(d->udev->descriptor.idVendor) == USB_VID_MEDION) |
180 | switch (msg[i].addr) { | 180 | switch (msg[i].addr) { |
181 | case 0x63: | 181 | case 0x63: |
182 | cxusb_gpio_tuner(d, 0); | 182 | cxusb_gpio_tuner(d, 0); |