summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.cirrus.com>2022-11-25 17:20:28 +0300
committerVinod Koul <vkoul@kernel.org>2023-01-09 19:16:27 +0300
commit545c365185a47672b1d5cc13c84057a1e874993c (patch)
tree9a104c0cc874d5f899d8471a84125033b5542391 /tools/perf/scripts/python/exported-sql-viewer.py
parentb275bf45ba1da1681d75f6434637442f53bf3fa5 (diff)
downloadlinux-545c365185a47672b1d5cc13c84057a1e874993c.tar.xz
soundwire: stream: Move remaining register accesses over to no_pm
There is no need to play with the runtime reference everytime a register is accessed. All the remaining "pm" style register accesses trace back to 4 functions: sdw_prepare_stream sdw_deprepare_stream sdw_enable_stream sdw_disable_stream Any sensible implementation will need to hold a runtime reference across all those functions, it makes no sense to be allowing the device/bus to suspend whilst streams are being prepared/enabled. And certainly in the case of the all existing users, they all call these functions from hw_params/prepare/trigger/hw_free callbacks in ALSA, which will have already runtime resumed all the audio devices associated during the open callback. Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://lore.kernel.org/r/20221125142028.1118618-5-ckeepax@opensource.cirrus.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions