commit | 252e91ff1094eefacd25b401c3b77e549803cae6 | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Fri Dec 13 14:43:02 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Mon Dec 16 20:14:44 2013 +0000 |
tree | 72d95f842cc3faa1681f50e3c20506e4f2b5d789 | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae [diff] |
ASoC: sgtl5000: read chip revision for once Store chip revision in struct sgtl5000_priv when sgtl5000_i2c_probe() reads it out from register, so that we can use it in sgtl5000_enable_regulators() with no need to read register again. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>