Re: [PATCH v2 14/19] ASoC: tlv320aic31xx: Remove regulator notification handling

Mark Brown
2017-12-01T13:36:04Z

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

On Wed, Nov 29, 2017 at 03:32:55PM -0600, Andrew F. Davis wrote:
> A regulator being forcefully disabled is a catastrophic event that
> should never happen to most devices, especially not sound CODECs.

That's not what the disable notification handling is for. It's there so
that the driver can skip having to reinitialize the device if other
constraints mean the power doesn't actually get turned off when it
disables the regualtors. It's nothing to do with forced disables.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]