]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit61332dd7a05b071fb568d8c589649fe0938e96a5
tree101c1f2d607fb5de64831f6e918707e015f0a31f
parent55addf3150ef37e6b38d415547cc6f20b4d9aca1
ASoC: alc5623: Fix regmap endianness

Commit 69a37178ef8a21b169f15f9b9038a6947844b8f9, "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