Re: [PATCH v2] ALSA: hda: avoid reset of sdo_limit

From: Takashi Iwai
Date: Wed Aug 19 2020 - 11:38:13 EST


On Wed, 19 Aug 2020 17:32:10 +0200,
Sameer Pujar wrote:
>
> By default 'sdo_limit' is initialized with a default value of '8'
> as per spec. This is overridden in cases where a different value is
> required. However this is getting reset when snd_hdac_bus_init_chip()
> is called again, which happens during runtime PM cycle.
>
> Avoid this reset by moving 'sdo_limit' setup to 'snd_hdac_bus_init()'
> function which would be called only once.
>
> Fixes: 67ae482a59e9 ("ALSA: hda: add member to store ratio for stripe control")
> Cc: <stable@xxxxxxxxxxxxxxx>
> Signed-off-by: Sameer Pujar <spujar@xxxxxxxxxx>

Applied now. Thanks.


Takashi