aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Louis Bossart <[email protected]>2023-03-14 09:54:01 +0800
committerVinod Koul <[email protected]>2023-03-15 19:24:02 +0530
commit90e4632a6f6cee2a8f2ef20f47c2a5ccc7a780ea (patch)
tree2a7421618769bd1acfff8c1ad5fb28420d44fbec
parent84706e9a75ffc3c950424bdfea06cabb4101a6b4 (diff)
soundwire: intel: use indirection before moving bus start/stop sequences
There was no benefit to using the existing abstraction, but since we are going to move the code make sure we do use the ops. Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
-rw-r--r--drivers/soundwire/intel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c
index 902934cbb27b..8395a20e5739 100644
--- a/drivers/soundwire/intel.c
+++ b/drivers/soundwire/intel.c
@@ -1311,13 +1311,13 @@ static int intel_stop_bus(struct sdw_intel *sdw, bool clock_stop)
return ret;
}
- ret = intel_link_power_down(sdw);
+ ret = sdw_intel_link_power_down(sdw);
if (ret) {
dev_err(dev, "%s: Link power down failed: %d\n", __func__, ret);
return ret;
}
- intel_shim_wake(sdw, wake_enable);
+ sdw_intel_shim_wake(sdw, wake_enable);
return 0;
}