[PATCH v3 1/2] ASoC: cs35l41: CS35L41 Boosted Smart Amplifier
David Rhodes
drhodes at opensource.cirrus.com
Wed Jul 21 00:18:09 CEST 2021
On 7/12/21 10:03 AM, Mark Brown wrote:
> On Fri, Jul 09, 2021 at 06:11:28PM -0500, David Rhodes wrote:
>> On 7/5/21 2:20 PM, Mark Brown wrote:
>
>>> I can't see any references to GLOBAL_EN outside this function, why might
>>> it not be set?
>
>> This check prevents an incorrect 'PDN Failed' message if DAPM initializes
>> and turns the widget off at boot (with no prior power-up).
>
> In what way does it prevent this message and why is this a good approach
> to the issue?
>
There is a better approach that I will include in v4.
The chip has a bit field that indicates if GLOBAL_EN has been asserted.
The 'PDN Failed' message can be skipped if this bit is not set.
More information about the Alsa-devel
mailing list