From: Mark Brown Date: Wed, 14 Jul 2010 15:14:33 +0000 (+0100) Subject: ASoC: Handle read failures in codec_reg X-Git-Tag: v2.6.36-rc1~493^2~1^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5164d74d74447895aaa31c094a1b9e666acaa656;p=pandora-kernel.git 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 Acked-by: Liam Girdwood --- Reading git-diff-tree failed