|
@@ -509,7 +509,7 @@ static int snd_nativeinstruments_control_get(struct snd_kcontrol *kcontrol,
|
|
|
else
|
|
|
ret = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), bRequest,
|
|
|
USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_IN,
|
|
|
- 0, cpu_to_le16(wIndex),
|
|
|
+ 0, wIndex,
|
|
|
&tmp, sizeof(tmp), 1000);
|
|
|
up_read(&mixer->chip->shutdown_rwsem);
|
|
|
|
|
@@ -540,7 +540,7 @@ static int snd_nativeinstruments_control_put(struct snd_kcontrol *kcontrol,
|
|
|
else
|
|
|
ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), bRequest,
|
|
|
USB_TYPE_VENDOR | USB_RECIP_DEVICE | USB_DIR_OUT,
|
|
|
- cpu_to_le16(wValue), cpu_to_le16(wIndex),
|
|
|
+ wValue, wIndex,
|
|
|
NULL, 0, 1000);
|
|
|
up_read(&mixer->chip->shutdown_rwsem);
|
|
|
|