From: Mark Brown Date: Wed, 25 Jan 2012 19:53:58 +0000 (+0000) Subject: ASoC: dapm: Drop runtime PM references asynchronously X-Git-Tag: firefly_0821_release~3680^2~2691^2~52^2~25^2~196 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fb644e9ce02a6965a2419325a03a9ea531840bcd;p=firefly-linux-kernel-4.4.55.git ASoC: dapm: Drop runtime PM references asynchronously We don't really care if any action is taken immediately so let the PM core defer things if it wants to. Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 30f9b5c71eee..4973545f2a32 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -1285,7 +1285,7 @@ static void dapm_post_sequence_async(void *data, async_cookie_t cookie) dev_err(d->dev, "Failed to turn off bias: %d\n", ret); if (d->dev) - pm_runtime_put_sync(d->dev); + pm_runtime_put(d->dev); } /* If we just powered up then move to active bias */