diff options
author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2024-04-10 04:34:37 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-04-11 19:22:51 +0200 |
commit | f2fa6865566483582aed4511ef603b44239b227b (patch) | |
tree | fbacbd0f924559087c02da68918b1a8dc770f49a /drivers/soundwire | |
parent | soundwire: intel_auxdevice: use pm_runtime_resume() instead of pm_request_res... (diff) | |
download | linux-f2fa6865566483582aed4511ef603b44239b227b.tar.xz linux-f2fa6865566483582aed4511ef603b44239b227b.zip |
soundwire: intel: export intel_resume_child_device
We will resume each child in the next patch, and
intel_resume_child_device() will be used.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240410023438.487017-4-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire')
-rw-r--r-- | drivers/soundwire/intel_auxdevice.c | 2 | ||||
-rw-r--r-- | drivers/soundwire/intel_auxdevice.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/soundwire/intel_auxdevice.c b/drivers/soundwire/intel_auxdevice.c index 012232cfbf7f..296a470ce1e0 100644 --- a/drivers/soundwire/intel_auxdevice.c +++ b/drivers/soundwire/intel_auxdevice.c @@ -440,7 +440,7 @@ int intel_link_process_wakeen_event(struct auxiliary_device *auxdev) * PM calls */ -static int intel_resume_child_device(struct device *dev, void *data) +int intel_resume_child_device(struct device *dev, void *data) { int ret; struct sdw_slave *slave = dev_to_sdw_dev(dev); diff --git a/drivers/soundwire/intel_auxdevice.h b/drivers/soundwire/intel_auxdevice.h index a00ecde95563..acaae0bd6592 100644 --- a/drivers/soundwire/intel_auxdevice.h +++ b/drivers/soundwire/intel_auxdevice.h @@ -6,6 +6,7 @@ int intel_link_startup(struct auxiliary_device *auxdev); int intel_link_process_wakeen_event(struct auxiliary_device *auxdev); +int intel_resume_child_device(struct device *dev, void *data); struct sdw_intel_link_dev { struct auxiliary_device auxdev; |