summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-ssi.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-04-04 07:04:35 +0400
committerMark Brown <broonie@linaro.org>2014-04-04 14:11:18 +0400
commit06b4b813058f6092ded5d7e0d92d4c34d92975bd (patch)
tree0154d76655f0b9bbd555af22754eecb0449a1639 /sound/soc/fsl/imx-ssi.h
parentc159a85013afbb8283f0c7272812952e04d5c3a1 (diff)
downloadlinux-06b4b813058f6092ded5d7e0d92d4c34d92975bd.tar.xz
ASoC: cs42xx8: Check return value of regmap_read and report correct chipid value
Fix checking return value of regmap_read(). Also fix reporting the chip_id value. CS42XX8_CHIPID_CHIP_ID_MASK is 0xF0, so the chip_id value is (val & CS42XX8_CHIPID_CHIP_ID_MASK) >> 4). Signed-off-by: Axel Lin <axel.lin@ingics.com> Acked-by: Paul Handrigan <paul.handrigan@cirrus.com> Acked-by: Brian Austin <brian.austin@cirrus.com> Acked-by: Nicolin Chen <Guangyu.Chen@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/fsl/imx-ssi.h')
0 files changed, 0 insertions, 0 deletions