]> git.baikalelectronics.ru Git - kernel.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)
commit1bc38ffc1efd4c4ed313691ed3a75d1e307eadd3
treeeb4226ab1f6aabaf150a48e51e51a55f732f7f48
parent44aa202d5eead14334c758551686a23b560684e2
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