Re: [PATCH] soundwire: bandwidth allocation: improve error messages

From: Vinod Koul
Date: Tue May 11 2021 - 08:04:22 EST


On 11-05-21, 13:49, Bard Liao wrote:
> From: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
>
> In rare corner cases, we see an error with the log:
>
> [ 838.297840] soundwire sdw-master-1: Compute bus params failed: -22
>
> That's not very useful, there can be two different error conditions
> with the same -EINVAL code provided to the caller.
>
> Let's add better dev_err() messages to figure out what went wrong.

Applied, thanks

--
~Vinod