]> 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)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:53 +0000 (21:16 -0600)
commit3b9c09f76b6d38d8084b70fbf976c312158d1132
treeedb9d1720aeb85d7cdae07f317d3247f6a144ea2
parent17f5aa13bcfea8a0d13a2c74d0f8869e7633c708
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>
(cherry picked from commit e9b383dc940f4cba6876887ecb47df3082ec925e)
sound/soc/fsl/fsl_spdif.c