[PATCH] soundwire: bandwidth allocation: improve error messages

Vinod Koul vkoul at kernel.org
Tue May 11 14:04:15 CEST 2021


On 11-05-21, 13:49, Bard Liao wrote:
> From: Pierre-Louis Bossart <pierre-louis.bossart at linux.intel.com>
> 
> 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


More information about the Alsa-devel mailing list