Re: [PATCH v1 6/6] ASoC: sgtl5000: Improve VAG power and mute control

2019-06-13 Thread Marcel Ziswiler
On Tue, 2019-05-21 at 13:36 +0300, Oleksandr Suvorov wrote: > Change VAG power on/off control according to the following algorithm: > - turn VAG power ON on the 1st incoming event. > - keep it ON if there is any active VAG consumer (ADC/DAC/HP/Line- > In). > - turn VAG power OFF when there is the l

[PATCH v1 6/6] ASoC: sgtl5000: Improve VAG power and mute control

2019-05-21 Thread Oleksandr Suvorov
Change VAG power on/off control according to the following algorithm: - turn VAG power ON on the 1st incoming event. - keep it ON if there is any active VAG consumer (ADC/DAC/HP/Line-In). - turn VAG power OFF when there is the latest consumer's pre-down event come. - always delay after VAG power