From eb85bf1ab79bc42d8e16f16cef8a6045e068f0bd Mon Sep 17 00:00:00 2001 From: wjh Date: Tue, 27 Sep 2016 17:33:53 +0800 Subject: [PATCH] drivers: sound: usb: fix disvr usb Audio bug 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 --- sound/usb/quirks.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sound/usb/quirks.c b/sound/usb/quirks.c index 59841b6ce8a1..b5faa2f02c5c 100644 --- a/sound/usb/quirks.c +++ b/sound/usb/quirks.c @@ -1467,6 +1467,9 @@ void snd_usb_audioformat_attributes_quirk(struct snd_usb_audio *chip, int stream) { switch (chip->usb_id) { +#ifdef CONFIG_HID_RKVR + case USB_ID(0x071B, 0x3205): /* RockChip NanoC VR */ +#endif case USB_ID(0x0a92, 0x0053): /* AudioTrak Optoplay */ /* Optoplay sets the sample rate attribute although * it seems not supporting it in fact.