Hi Mark, Fabio,
On Tue, May 28, 2013 at 11:04:18AM -0300, Fabio Estevam wrote:
Commit b871f1ad (ASoC: sgtl5000: Read SGTL5000_CHIP_ID in i2c_probe()) placed the code for reading the codec revision prior to turning on the power supplies.
Even though this works on some systems that always have the codec power supplies enabled, this is not correct, so revert this commit.
It seems like a better fix for this is to just enable the supplies while doing the device identification?
This patch does kinda fix it for me, but the system takes quite some time to init the soundcard now (a few seconds). After reverting these two patches, the soundcard works just fine (like before):
ASoC: sgtl5000: Fix driver probe after reset ASoC: sgtl5000: Read SGTL5000_CHIP_ID in i2c_probe()
Best regards, Marek Vasut