diff options
author | Axel Lin <[email protected]> | 2014-04-04 11:04:35 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2014-04-04 11:11:18 +0100 |
commit | 06b4b813058f6092ded5d7e0d92d4c34d92975bd (patch) | |
tree | 0154d76655f0b9bbd555af22754eecb0449a1639 /net/unix/sysctl_net_unix.c | |
parent | c159a85013afbb8283f0c7272812952e04d5c3a1 (diff) |
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 <[email protected]>
Acked-by: Paul Handrigan <[email protected]>
Acked-by: Brian Austin <[email protected]>
Acked-by: Nicolin Chen <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions