ASoC: SOF: acpi: add debug module param
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 8 Oct 2019 16:44:37 +0000 (11:44 -0500)
committerMark Brown <broonie@kernel.org>
Thu, 10 Oct 2019 14:15:11 +0000 (15:15 +0100)
commit70b0c75ae1e3d35f829b5fe7ae5692efae63ca71
treedd3397bdf722150b2cf14a4ccd6eb89919cb9e38
parent902fd492d5ea2c02666ddadc1da977ca94e6b52c
ASoC: SOF: acpi: add debug module param

Add debug parameter for snd-sof-acpi.

One of the usages for this debug parameter to disable pm_runtime,
which can be useful for platform bringup, or keep the parent device
active while enabling pm_runtime for child devices (e.g. with
SoundWire or MFD). This can also be useful to measure suspend-resume
latencies or child devices.

Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191008164443.1358-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-acpi-dev.c