ASoC: SOF: pm: Fix prepare callback behavior for OF usecase
authorDaniel Baluta <daniel.baluta@nxp.com>
Mon, 21 Sep 2020 10:50:38 +0000 (13:50 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 21 Sep 2020 16:28:10 +0000 (17:28 +0100)
commit43437d0417a36bc9174deedce4ecc2c516ffde57
tree419a0d811f97e78cfa0bfee5115167b3cd0e9099
parent641088722244f59fed00b68f7f5aaa3d56c1d73d
ASoC: SOF: pm: Fix prepare callback behavior for OF usecase

On i.MX platforms PM is not managed via ACPI although CONFIG_ACPI
can be set. So, in order to correctly set the system target state
we introduce a flag for platforms that require to use acpi target
states.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200921105038.2909899-1-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/sof.h
sound/soc/sof/pm.c
sound/soc/sof/sof-pci-dev.c