OSDN Git Service

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

Add debug parameter for snd-sof-pci.

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-5-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-pci-dev.c