Re: [PATCH] soundwire: stream: restore cumulative bus bandwidth when compute_params callback failed

From: Vinod Koul
Date: Thu Mar 16 2023 - 02:03:47 EST


On 16-03-23, 09:30, Bard Liao wrote:
> From: Shuming Fan <shumingf@xxxxxxxxxxx>
>
> The _sdw_prepare_stream function just returns the error code when
> compute_params callback failed.
> The cumulative bus bandwidth will keep the value and won't be decreased
> by sdw_deprepare_stream function.
> We should restore the value of cumulative bus bandwidth when
> compute_params callback failed.

Applied, thanks

--
~Vinod