]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: SOF: pci: mark last_busy value at runtime PM init
authorPan Xiuli <xiuli.pan@linux.intel.com>
Mon, 22 Jul 2019 14:13:42 +0000 (09:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 5 Oct 2019 11:13:25 +0000 (13:13 +0200)
commit1a53850754a9548117d791d67f1f546bd376853f
tree48d928a20f4de309190b02ab9bf0e5bf002935f7
parentf76aa9d803b6d23a6a1c00863c85e10da5e9354e
ASoC: SOF: pci: mark last_busy value at runtime PM init

[ Upstream commit f1b1b9b136827915624136624ff54aba5890a15b ]

If last_busy value is not set at runtime PM enable, the device will be
suspend immediately after usage counter is 0. Set the last_busy value to
make sure delay is working at first boot up.

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20190722141402.7194-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/sof/sof-pci-dev.c