drivers: sound: usb: fix disvr usb Audio bug
authorwjh <wjh@rock-chips.com>
Tue, 27 Sep 2016 09:33:53 +0000 (17:33 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Sun, 9 Oct 2016 11:15:08 +0000 (19:15 +0800)
The disvr usb audio sampling rate is through nanoc reported to
the kernel, so don't need the kernel again set the sampling rate.

Change-Id: I60409fc579952a196c4fe40f678e87d505a7508d
Signed-off-by: wjh <wjh@rock-chips.com>
sound/usb/stream.c

index 3b23102230c03d1558b0f067f963ccb0b5dfaaf4..65627639851642b9fb3e97aeb09d2410aca0332d 100644 (file)
@@ -685,6 +685,9 @@ int snd_usb_parse_audio_interface(struct snd_usb_audio *chip, int iface_no)
 
                switch (chip->usb_id) {
                case USB_ID(0x0a92, 0x0053): /* AudioTrak Optoplay */
+#ifdef CONFIG_HID_RKVR
+               case USB_ID(0x071B, 0x3205): /* RockChip NanoC VR */
+#endif
                        /* Optoplay sets the sample rate attribute although
                         * it seems not supporting it in fact.
                         */