soundwire: master: add runtime pm support
authorBard Liao <yung-chuan.liao@linux.intel.com>
Mon, 18 May 2020 17:43:22 +0000 (01:43 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 19 May 2020 07:14:35 +0000 (12:44 +0530)
commit26d970225d876437287ec47a60cf4a07fe08733d
tree0a231e257d1719087a90fb63937da5b0f3a8a1cf
parent7ceaa40b930e462ba0477ca6af34ec04d08181dc
soundwire: master: add runtime pm support

We need to enable runtime_pm on master device with generic helpers,
so that a Slave-initiated wake is propagated to the bus parent.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Acked-by: Jaroslav Kysela <perex@perex.cz>
Link: https://lore.kernel.org/r/20200518174322.31561-6-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/master.c