ASoC: max98090: make REVISION_ID readable
authorStephen Warren <swarren@nvidia.com>
Thu, 13 Feb 2014 23:54:24 +0000 (16:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 31 Mar 2014 16:58:13 +0000 (09:58 -0700)
commit21680f38b5994c8d839380e7cf002496a51962a2
treec1940a12fbbaafff04c34a84e27fed47d7875daf
parent27ff9f136acde1c1b5480f5fc3a874a7ca046f71
ASoC: max98090: make REVISION_ID readable

commit e126a646f77fdd66978785cb0a3a5e46b07aee2e upstream.

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: 685e42154dcf ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/max98090.c