Skip to content

Commit

Permalink
ASoC: dapm: Drop runtime PM references asynchronously
Browse files Browse the repository at this point in the history
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 <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Jan 26, 2012
1 parent d5315a2 commit fb644e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/soc-dapm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit fb644e9

Please sign in to comment.