soundwire: intel: export intel_resume_child_device
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 10 Apr 2024 02:34:37 +0000 (02:34 +0000)
committerVinod Koul <vkoul@kernel.org>
Thu, 11 Apr 2024 17:22:51 +0000 (22:52 +0530)
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>
drivers/soundwire/intel_auxdevice.c
drivers/soundwire/intel_auxdevice.h

index 012232cfbf7fc2e26bf8ff8b51f89e8aae977a79..296a470ce1e072c5d412051e5e0fe188c50c2b9d 100644 (file)
@@ -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);
index a00ecde9556333dabd2e3cc61ad9195e360c0d6d..acaae0bd6592b878f310516906d53f90394be3cd 100644 (file)
@@ -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;