ASoC: SOF: debug: update test for pm_runtime_get_sync()
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 17 Sep 2020 10:56:28 +0000 (13:56 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 17 Sep 2020 14:53:17 +0000 (15:53 +0100)
commit7db6db9d1a4a7864cd2557e983e06f3adf788c6a
treeefef843fc222a089b23d472c8acf51e2f51ba52d
parent6eab771472af50e11a484d56ba444e2ec82e9126
ASoC: SOF: debug: update test for pm_runtime_get_sync()

We need to avoid reporting an error for -EACCESS when pm_runtime is
not enabled.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200917105633.2579047-4-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/debug.c