[PATCH] Revert "ALSA: usb-audio: Disable Lenovo P620 Rear line-in volume control"

Takashi Iwai tiwai at suse.de
Mon Sep 21 10:40:27 CEST 2020


On Tue, 15 Sep 2020 12:39:23 +0200,
Kai-Heng Feng wrote:
> 
> This reverts commit 34dedd2a83b241ba6aeb290260313c65dc58660e.
> 
> According to Realtek, volume FU works for line-in.
> 
> I can confirm volume control works after device firmware is updated.

A slight concern is what happens if you apply this change to the
device before the firmware update.

Also, after this revert, does the mixer control appear properly?


thanks,

Takashi

> 
> Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>
> ---
>  sound/usb/mixer_maps.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/usb/mixer_maps.c b/sound/usb/mixer_maps.c
> index 5b43e9e40e49..c369c81e74c4 100644
> --- a/sound/usb/mixer_maps.c
> +++ b/sound/usb/mixer_maps.c
> @@ -371,7 +371,6 @@ static const struct usbmix_name_map asus_rog_map[] = {
>  };
>  
>  static const struct usbmix_name_map lenovo_p620_rear_map[] = {
> -	{ 19, NULL, 2 }, /* FU, Volume */
>  	{ 19, NULL, 12 }, /* FU, Input Gain Pad */
>  	{}
>  };
> -- 
> 2.17.1
> 


More information about the Alsa-devel mailing list