]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dapm: Change prototype of soc_widget_read
authorArun Shamanna Lakshmi <aruns@nvidia.com>
Tue, 14 Jan 2014 23:31:54 +0000 (15:31 -0800)
committerMark Brown <broonie@linaro.org>
Wed, 15 Jan 2014 11:43:27 +0000 (11:43 +0000)
commit2a1739a958b65c78add147593897b53aa8101a84
treeda50751d488fa4a6d280111622066c7bbaffa16d
parent3a02347c269b8714e4d9f9211df9e58769596c31
ASoC: dapm: Change prototype of soc_widget_read

soc_widget_read API returns the register data and it is possible
that a register can contain 0xffffffff. Thus, change the prototype
of soc_widget_read to return only the error code and pass the reg
data through pointer argument.

Signed-off-by: Arun Shamanna Lakshmi <aruns@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-dapm.c