commit | b871f1ad3c8a1ac2fb862f9261f14a67dc2c7b7d | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Thu May 09 21:15:46 2013 -0300 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Sun May 12 20:50:02 2013 +0400 |
tree | 13e2c366ab0336a85bb1aa6da8334f4f78c1c36f | |
parent | 24279dcee5456bb141a1ca007a3f0abe02bf91d0 [diff] |
ASoC: sgtl5000: Read SGTL5000_CHIP_ID in i2c_probe() The usual place for reading chip ID is inside i2c_probe, so move it there and also convert it to regmap. sgtl5000_enable_regulators() needs to read the chip revision, so keep the revision check there. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>