mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
[media] cxusb: fix sparse warnings
cxusb.c:1443:32: warning: restricted __le16 degrades to integer cxusb.c:1487:32: warning: restricted __le16 degrades to integer Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
This commit is contained in:
parent
4580278f5d
commit
d674a6547c
1 changed files with 2 additions and 2 deletions
|
|
@ -1440,7 +1440,7 @@ static int cxusb_tt_ct2_4400_attach(struct dvb_usb_adapter *adap)
|
|||
si2168_config.ts_mode = SI2168_TS_PARALLEL;
|
||||
|
||||
/* CT2-4400v2 TS gets corrupted without this */
|
||||
if (d->udev->descriptor.idProduct ==
|
||||
if (le16_to_cpu(d->udev->descriptor.idProduct) ==
|
||||
USB_PID_TECHNOTREND_TVSTICK_CT2_4400)
|
||||
si2168_config.ts_mode |= 0x40;
|
||||
|
||||
|
|
@ -1484,7 +1484,7 @@ static int cxusb_tt_ct2_4400_attach(struct dvb_usb_adapter *adap)
|
|||
st->i2c_client_tuner = client_tuner;
|
||||
|
||||
/* initialize CI */
|
||||
if (d->udev->descriptor.idProduct ==
|
||||
if (le16_to_cpu(d->udev->descriptor.idProduct) ==
|
||||
USB_PID_TECHNOTREND_CONNECT_CT2_4650_CI) {
|
||||
|
||||
memcpy(o, "\xc0\x01", 2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue