ASoC: pcm: allow delayed suspending request by users
authorSanyog Kale <sanyog.r.kale@intel.com>
Tue, 5 Jan 2016 11:44:49 +0000 (17:14 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jan 2016 16:27:53 +0000 (16:27 +0000)
commit3f80978397f447973d278198e8bbde82826cb9c1
tree90adb8df001be44af039bf5387c0d1916fe8960d
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
ASoC: pcm: allow delayed suspending request by users

If a device would like to use delayed suspending then PM
recommendation is to set ‘power.use_autosuspend’ flag. To allow
users to do so we need to change runtime calls in core to use
autosuspend counterparts.

For user who do not wish to use delayed suspend not setting the
device's ‘power.use_autosuspend’ flag will result in non-delayed
suspend even with these APIs which incidentally is also the default
behaviour, so only users will be impacted who opt in for this.

Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-pcm.c