diff options
author | Takashi Iwai <tiwai@suse.de> | 2017-08-16 15:18:37 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-25 03:15:02 +0300 |
commit | c482b084491bd38e3e57457f871fcf06342346ab (patch) | |
tree | 82aeff6ae71a178cb37c2ff4d77f1e1bed655c58 /mm | |
parent | b33fcbb01b3af0586a377f16d32cd6252ed8da31 (diff) | |
download | linux-c482b084491bd38e3e57457f871fcf06342346ab.tar.xz |
ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices
commit 0f174b3525a43bd51f9397394763925e0ebe7bc7 upstream.
C-Media devices (at least some models) mute the playback stream when
volumes are set to the minimum value. But this isn't informed via TLV
and the user-space, typically PulseAudio, gets confused as if it's
still played in a low volume.
This patch adds the new flag, min_mute, to struct usb_mixer_elem_info
for indicating that the mixer element is with the minimum-mute volume.
This flag is set for known C-Media devices in
snd_usb_mixer_fu_apply_quirk() in turn.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=196669
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions