mirror of
https://github.com/torvalds/linux.git
synced 2024-09-21 07:23:06 +00:00
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 <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20230314015410.487311-8-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
84706e9a75
commit
90e4632a6f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user