28 Nov
2014
28 Nov
'14
1:40 p.m.
On Fri, 2014-11-28 at 17:37 +0500, Alexander E. Patrakov wrote:
28.11.2014 17:31, Jurgen Kramer wrote:
case 2: /* DSD mode requested */
err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), 0,
USB_DIR_OUT|USB_TYPE_VENDOR|USB_RECIP_INTERFACE,
1, 1, NULL, 0);
if (err < 0)
return err;
break;
case 1: /* PCM mode requested */
err = snd_usb_ctl_msg(dev, usb_sndctrlpipe(dev, 0), 0,
USB_DIR_OUT|USB_TYPE_VENDOR|USB_RECIP_INTERFACE,
0, 1, NULL, 0);
if (err > 0)
return err;
break;
maybe if (err < 0)?
Oops,right. Typo when I cleanup the patch...will resend as v2.
Jurgen