All of lore.kernel.org
 help / color / mirror / Atom feed
* sound: usb: fix rate on Ozone Z90 USB headset
       [not found] <CGME20210616090456epcas2p314eef483f4d8cb7b50aa429727317e16@epcas2p3.samsung.com>
@ 2021-06-16  8:50 ` Daehwan Jung
  0 siblings, 0 replies; only message in thread
From: Daehwan Jung @ 2021-06-16  8:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Daehwan Jung, Jaroslav Kysela, Takashi Iwai, Johan Hovold,
	Lukasz Halman, alsa-devel, linux-kernel

It mislabels its 96 kHz altsetting and that's why it causes some noise

Signed-off-by: Daehwan Jung <dh10.jung@samsung.com>
---
 sound/usb/format.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/usb/format.c b/sound/usb/format.c
index 2287f8c..eb216fe 100644
--- a/sound/usb/format.c
+++ b/sound/usb/format.c
@@ -223,9 +223,11 @@ static int parse_audio_format_rates_v1(struct snd_usb_audio *chip, struct audiof
 				continue;
 			/* C-Media CM6501 mislabels its 96 kHz altsetting */
 			/* Terratec Aureon 7.1 USB C-Media 6206, too */
+			/* Ozone Z90 USB C-Media, too */
 			if (rate == 48000 && nr_rates == 1 &&
 			    (chip->usb_id == USB_ID(0x0d8c, 0x0201) ||
 			     chip->usb_id == USB_ID(0x0d8c, 0x0102) ||
+			     chip->usb_id == USB_ID(0x0d8c, 0x0078) ||
 			     chip->usb_id == USB_ID(0x0ccd, 0x00b1)) &&
 			    fp->altsetting == 5 && fp->maxpacksize == 392)
 				rate = 96000;
-- 
2.7.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-16  9:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CGME20210616090456epcas2p314eef483f4d8cb7b50aa429727317e16@epcas2p3.samsung.com>
2021-06-16  8:50 ` sound: usb: fix rate on Ozone Z90 USB headset Daehwan Jung

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.