ASoC: dapm: Drop runtime PM references asynchronously
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 25 Jan 2012 19:53:58 +0000 (19:53 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 26 Jan 2012 16:22:45 +0000 (16:22 +0000)
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>
sound/soc/soc-dapm.c

index 30f9b5c71eee91dbdf289a8c26ce940ea6e95cb7..4973545f2a325f7d6b976ee4fbd4b40c16cbc869 100644 (file)
@@ -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 */