Re: [PATCH] ALSA: hda/tas2781: select program 0, conf 0 by default

From: Takashi Iwai
Date: Fri Dec 15 2023 - 02:14:09 EST


On Fri, 15 Dec 2023 00:33:27 +0100,
Gergo Koteles wrote:
>
> Currently, cur_prog/cur_conf remains at the default value (-1), while
> program 0 has been loaded into the amplifiers.
>
> In the playback hook, tasdevice_tuning_switch tries to restore the
> cur_prog/cur_conf. In the runtime_resume/system_resume,
> tasdevice_prmg_load tries to load the cur_prog as well.
>
> Set cur_prog and cur_conf to 0 if available in the firmware.
>
> Fixes: 5be27f1e3ec9 ("ALSA: hda/tas2781: Add tas2781 HDA driver")
> CC: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Gergo Koteles <soyer@xxxxxx>

Thanks, applied now.


Takashi