]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ASoC: fsl_spdif: Fix incorrect usage of regmap_read()
authorNicolin Chen <Guangyu.Chen@freescale.com>
Tue, 6 May 2014 08:41:39 +0000 (16:41 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 9 Jun 2014 20:00:23 +0000 (21:00 +0100)
commite9b383dc940f4cba6876887ecb47df3082ec925e
treeeb4226ab1f6aabaf150a48e51e51a55f732f7f48
parente1d4d3c854f25cff6c6c139588570e124d5e8fa4
ASoC: fsl_spdif: Fix incorrect usage of regmap_read()

We should not copy the return value into this val since it's supposed to
get the value of the register not the success result of regmap_read().
Thus fix it.

Signed-off-by: Nicolin Chen <Guangyu.Chen@freescale.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/fsl/fsl_spdif.c