[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>
This commit is contained in:
parent
888bd5dcb6
commit
41150cb9f5
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ static int cxusb_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msg[],
|
||||||
|
|
||||||
for (i = 0; i < num; i++) {
|
for (i = 0; i < num; i++) {
|
||||||
|
|
||||||
if (d->udev->descriptor.idVendor == USB_VID_MEDION)
|
if (le16_to_cpu(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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue