soundwire: debugfs: Switch to sdw_read_no_pm
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 25 Nov 2022 14:20:27 +0000 (14:20 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 9 Jan 2023 16:16:27 +0000 (21:46 +0530)
commitb275bf45ba1da1681d75f6434637442f53bf3fa5
treef2c90118831e84397dffcb9a9ac42d8feb030489
parent6726b47a2a60e3f2ef15ee7c4c6d9caa27770576
soundwire: debugfs: Switch to sdw_read_no_pm

It is rather inefficient to be constantly playing with the runtime
PM reference for each individual register, switch to holding a PM
runtime reference across the whole register output.

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-4-ckeepax@opensource.cirrus.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/debugfs.c