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)
committerMark Brown <broonie@kernel.org>
Tue, 23 Jul 2019 11:18:00 +0000 (12:18 +0100)
commitf1b1b9b136827915624136624ff54aba5890a15b
tree81a97ed4e93661ad260ef7b460be5d9f6ad27787
parentf8f85216f8d309daadb37aba8a4b0826783d8747
ASoC: SOF: pci: mark last_busy value at runtime PM init

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>
sound/soc/sof/sof-pci-dev.c