]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3a8ff76d5b3f37f2e7312ecf68d6af8c8551c84
tree90adb8df001be44af039bf5387c0d1916fe8960d
parent837e0eb1c9d194f0eb3cf87d97b2235de146c9fe
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