commit | 5164d74d74447895aaa31c094a1b9e666acaa656 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Jul 14 16:14:33 2010 +0100 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Jul 14 20:13:09 2010 +0100 |
tree | a13079984b1f2601cd940d83d21fcd5e4bc3451d | |
parent | 03b0dc02cf54a79d6bc2f49c0005bc07db5120a4 [diff] |
ASoC: Handle read failures in codec_reg When a device is powered down volatile registers can't be read so attempts to display codec_reg will show error values, and obviously it is also possible for there to be hardware errors too. Check for errors from reads and display them more clearly when formatting codec_reg. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>