]> git.karo-electronics.de Git - linux-beck.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)
commitf7d3c17096f6cbca8f0113d5a092ffcc72c7bf41
treeda50751d488fa4a6d280111622066c7bbaffa16d
parentb893ea5f1cd1adbbd7e0794d16d47bbb46f80733
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