soundwire: bus: write Slave Device Number without runtime_pm
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 15 Jan 2020 00:08:39 +0000 (18:08 -0600)
committerVinod Koul <vkoul@kernel.org>
Tue, 25 Feb 2020 10:27:02 +0000 (15:57 +0530)
commitd300de4f2d5108ac5f73601190ee4e3806f37c0b
tree25788557634cec0c8682fe6e6c663bf21edb8dfb
parent60ee9be2557124aa007e6e12e78def2f55d1b64b
soundwire: bus: write Slave Device Number without runtime_pm

While handling the Device0, we can safely use sdw_write_no_pm.

This move will also helps us track that all other usages of
sdw_write() happen when the Slave is already enumerated.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200115000844.14695-6-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c