summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2014-04-04 11:04:35 +0800
committerMark Brown <broonie@linaro.org>2014-04-04 11:11:18 +0100
commit06b4b813058f6092ded5d7e0d92d4c34d92975bd (patch)
tree0154d76655f0b9bbd555af22754eecb0449a1639 /mm
parentc159a85013afbb8283f0c7272812952e04d5c3a1 (diff)
downloadop-kernel-dev-06b4b813058f6092ded5d7e0d92d4c34d92975bd.zip
op-kernel-dev-06b4b813058f6092ded5d7e0d92d4c34d92975bd.tar.gz
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 'mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud