]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: max98090: make REVISION_ID readable
authorStephen Warren <swarren@nvidia.com>
Thu, 13 Feb 2014 23:54:24 +0000 (16:54 -0700)
committerMark Brown <broonie@linaro.org>
Sun, 16 Feb 2014 01:09:20 +0000 (09:09 +0800)
commit39f4e44a95e44ece56d3d85151d09a644a345b33
tree3a13f795c88546fad7f5199dbb78a85cfd63adc4
parent9c3ab84acaa1a53c2f15087ae9ddee5a64721a57
ASoC: max98090: make REVISION_ID readable

The REVISION_ID register is not currently marked readable. snd_soc_read()
refuses to read the register, and hence probe() fails.

Fixes: d4807ad2c4c0 ("regmap: Check readable regs in _regmap_read")
[exposed the bug, by checking for readability]
Fixes: d6a7b476643c ("ASoC: Replace max98090 Device Driver")
[left out this register from the readable list]
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/max98090.c