]> 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)
commitac4f16a98f139f87495b358e7db4eb5859f8404f
treeda50751d488fa4a6d280111622066c7bbaffa16d
parent908372986363dcdd77708941592d6ba8e208153f
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