ASoC: cs35l56: sdw_write_no_pm() should be performed under a pm_runtime request
authorSimon Trimmer <simont@opensource.cirrus.com>
Thu, 18 May 2023 15:02:49 +0000 (16:02 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 19 May 2023 02:32:12 +0000 (11:32 +0900)
commitc9001a2754528fa5da20e8674b3afbd8c134cc91
tree9c776a45b7158eb8b39874d05205e8079b46b128
parent608f1b0dbddec6b2fd766c10bcce2b651995e936
ASoC: cs35l56: sdw_write_no_pm() should be performed under a pm_runtime request

SoundWire bus accesses must be performed under the guard of a pm_runtime
request, in this case the write was being performed just after the
request had been put() and so the bus could not be guaranteed to be
available.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/Message-Id:
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l56.c