diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-05-11 13:49:45 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-05-11 17:34:07 +0530 |
commit | 0531e6b60569c71a34a9c5eb9bfbb1559b661cd8 (patch) | |
tree | 81f5c186a5b07222959580c37df548d1e8c60fd3 /drivers/nubus | |
parent | 9c294739cf5bdb6c613f23dff099e44ac9d722a4 (diff) |
soundwire: bandwidth allocation: improve error messages
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.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20210511054945.29558-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions