Commit a658fd8d authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Vinod Koul

soundwire: intel: remove clock_stop parameter in intel_shim_init()

Simplify signature before further code reshuffling.
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarRander Wang <rander.wang@intel.com>
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20220919175721.354679-6-yung-chuan.liao@linux.intel.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 30cbae66
...@@ -391,7 +391,7 @@ static void intel_shim_master_ip_to_glue(struct sdw_intel *sdw) ...@@ -391,7 +391,7 @@ static void intel_shim_master_ip_to_glue(struct sdw_intel *sdw)
/* at this point Integration Glue has full control of the I/Os */ /* at this point Integration Glue has full control of the I/Os */
} }
static int intel_shim_init(struct sdw_intel *sdw, bool clock_stop) static int intel_shim_init(struct sdw_intel *sdw)
{ {
void __iomem *shim = sdw->link_res->shim; void __iomem *shim = sdw->link_res->shim;
unsigned int link_id = sdw->instance; unsigned int link_id = sdw->instance;
...@@ -1277,14 +1277,10 @@ static struct sdw_master_ops sdw_intel_ops = { ...@@ -1277,14 +1277,10 @@ static struct sdw_master_ops sdw_intel_ops = {
static int intel_init(struct sdw_intel *sdw) static int intel_init(struct sdw_intel *sdw)
{ {
bool clock_stop;
/* Initialize shim and controller */ /* Initialize shim and controller */
intel_link_power_up(sdw); intel_link_power_up(sdw);
clock_stop = sdw_cdns_is_clock_stop(&sdw->cdns); intel_shim_init(sdw);
intel_shim_init(sdw, clock_stop);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment