OSDN Git Service

ASoC: soc-component: improve error reporting for register access
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 14 Oct 2021 16:13:30 +0000 (17:13 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 15 Oct 2021 15:10:57 +0000 (16:10 +0100)
commitb296997cf539976c62f81cdd367924809fdcc14e
treeebefcfb65bc97ba223781412f1f08d3fd59c317d
parent96792fdd77cd19fcf2368e7c19bb8b78557ae425
ASoC: soc-component: improve error reporting for register access

Currently errors on register read/write/update are reported with
an error code and the corresponding function but does not provide
any details on the which register number did it actually fail.

register number can give better clue and it should be easy to
locate the code and fix.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20211014161330.26645-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-component.c