Re: Re: [PATCH] ALSA: hda/intel: Synchronize the module parameter values of the power_save

From: songxiebing

Date: Mon Mar 02 2026 - 21:15:14 EST


Hi Takashi,

Thanks for your reply, i understand.

On Mon, 02 Mar 2026 16:38:00 +0900, Takashi Iwai <tiwai@xxxxxxxx> wrote:
>On Mon, 02 Mar 2026 09:12:18 +0100,
>songxiebing wrote:
>>
>> In set_default_power_save, if val is 0 and is not assigned to
>> power_save, it leads to incorrect reading of the sys node, resulting in
>> misjudgment, so modify it here.
>>
>> Signed-off-by: songxiebing <songxiebing@xxxxxxxxxx>
>
>I'm afraid that this can break things in a subtle way, e.g. when there
>are multiple HD-audio controllers, and only one of them is
>blacklisted.
>
>The power_save option is provided as a single knob for simplicity, in
>the case if user wants to change intentionally. And this doesn't
>guaranteed to be the actual power-saving timeout value that could be
>adjusted also via sysfs.
>
>
>thanks,
>
>Takashi