ASoC: alc5623: Fix regmap endianness
authorAndrew Lunn <andrew@lunn.ch>
Tue, 15 Apr 2014 12:37:05 +0000 (14:37 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 15 Apr 2014 13:21:21 +0000 (14:21 +0100)
commit8aaa414fadaec2b682168a5c937a3950a77956bf
tree101c1f2d607fb5de64831f6e918707e015f0a31f
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ASoC: alc5623: Fix regmap endianness

Commit 0cd257bf9b9b0cbb4fa1a5c988a232506997867c, "ASoC: alc5623:
Convert to direct regmap API usage" broke probing of the codec,
because of wrong endinness of the ID and codec version read from the
device. Fix this by removing the existing flipping of the endiannes,
and extracting the codec type byte from the word from the regmap.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/alc5623.c