]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit127ca1cd6ec942f41986faa6a927fc6dd2dcbc89
treeebefcfb65bc97ba223781412f1f08d3fd59c317d
parent72eee3507c04c803f9016fd6e4b8b59b19a57315
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