]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
authorWhaleChang <whalechang@google.com>
Fri, 6 Oct 2023 04:48:49 +0000 (12:48 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Oct 2023 21:08:50 +0000 (23:08 +0200)
commit0f44423e355ec7bb152c15053cfb1dfa370865fd
tree2eb6a348f3849cf5c03cd6eb7ab5bd9516c5766f
parent3746b878efdef99e8f018ca3fefe0a72529874ce
ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset

commit 6a83d6f3bb3c329a73e3483651fb77b78bac1878 upstream.

When a Opencomm2 Headset is connected to a Bluetooth USB dongle,
the audio playback functions properly, but the microphone does not work.

In the dmesg logs, there are messages indicating that the init_pitch
function fails when the capture process begins.

The microphone only functions when the ep pitch control is not set.

Toggling the pitch control off bypasses the init_piatch function
and allows the microphone to work.

Signed-off-by: WhaleChang <whalechang@google.com>
Link: https://lore.kernel.org/r/20231006044852.4181022-1-whalechang@google.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/quirks.c