[alsa-devel] [PATCH v5 2/2] ASoC: sgtl5000: Fix driver probe after reset

Troy Kisky troy.kisky at boundarydevices.com
Fri May 10 22:13:52 CEST 2013


On 5/10/2013 12:18 PM, Fabio Estevam wrote:
> On Fri, May 10, 2013 at 4:16 PM, Troy Kisky
> <troy.kisky at boundarydevices.com> wrote:
>
>> Since Sabrelite uses "dummy" regulators (always on), have you tested with a
>> boards that
>> actually uses regulators?
> I don't have any board that drives the sgtl5000 power supplies from a
> PMIC, for example.
>
>> I would think that some regulators would need to be on before you could even
>> read
>> the ID register.
> Sure. That's why I placed the ID reading after turning on the regulators :-)
>
Hmm. Maybe I need some remedial classes. This is what the flow looks 
like to me.

sgtl5000_i2c_probe
	regmap_read(sgtl5000->regmap, SGTL5000_CHIP_ID, &reg);
         snd_soc_register_codec(&client->dev,&sgtl5000_driver, &sgtl5000_dai, 1);

	sgtl5000_probe
		sgtl5000_enable_regulators





More information about the Alsa-devel mailing list