[alsa-devel] [PATCH] ASoC: pxa-ssp: make suspend call resilient against multiple invocations

Mark Brown broonie at kernel.org
Tue Nov 6 17:31:46 CET 2018


On Tue, Nov 06, 2018 at 12:20:20PM +0100, Daniel Mack wrote:
> The suspend callback is called twice when the machine is suspended, once
> through the ASoC layer and once through the platform device layer. Make sure
> not to confuse the clock layer with unbalanced calls, and bail out early if
> we are already suspended.

This feels like something we should be fixing at the core level - as far
as I can tell there's no PXA specific duplication going on here, it's
the core that's triggering the suspend operation twice so it's likely
that there's going to be problems on other platforms somehow.  Or is
there something PXA specific I'm missing here?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20181106/5320df66/attachment.sig>


More information about the Alsa-devel mailing list