[PATCH AUTOSEL 5.7 055/388] ASoC: SOF: Do nothing when DSP PM callbacks are not set

Mark Brown broonie at kernel.org
Thu Jun 18 13:01:26 CEST 2020


On Wed, Jun 17, 2020 at 09:02:32PM -0400, Sasha Levin wrote:
> From: Daniel Baluta <daniel.baluta at nxp.com>
> 
> [ Upstream commit c26fde3b15ed41f5f452f1da727795f787833287 ]
> 
> This provides a better separation between runtime and PM sleep
> callbacks.
> 
> Only do nothing if given runtime flag is set and calback is not set.
> 
> With the current implementation, if PM sleep callback is set but runtime
> callback is not set then at runtime resume we reload the firmware even
> if we do not support runtime resume callback.

This doesn't look like a bugfix, just an optimization?
-------------- 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/20200618/9bd70db0/attachment-0001.sig>


More information about the Alsa-devel mailing list