diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-09-20 01:57:15 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-09-20 10:39:23 +0530 |
commit | a658fd8d2b60f040ea042fd79bbd9c58e5f2b911 (patch) | |
tree | 2afa88c52b0225e9099fa6daee9b3affdd999db4 /drivers/soundwire | |
parent | 30cbae662ba989ada383cf3db2a4c6400b9ae1fc (diff) | |
download | linux-stable-a658fd8d2b60f040ea042fd79bbd9c58e5f2b911.tar.gz linux-stable-a658fd8d2b60f040ea042fd79bbd9c58e5f2b911.tar.bz2 linux-stable-a658fd8d2b60f040ea042fd79bbd9c58e5f2b911.zip |
soundwire: intel: remove clock_stop parameter in intel_shim_init()
Simplify signature before further code reshuffling.
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/20220919175721.354679-6-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.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/soundwire/intel.c b/drivers/soundwire/intel.c index 676de04c5070..2d828d98e153 100644 --- a/drivers/soundwire/intel.c +++ b/drivers/soundwire/intel.c @@ -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 */ } -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; unsigned int link_id = sdw->instance; @@ -1277,14 +1277,10 @@ static struct sdw_master_ops sdw_intel_ops = { static int intel_init(struct sdw_intel *sdw) { - bool clock_stop; - /* Initialize shim and controller */ intel_link_power_up(sdw); - clock_stop = sdw_cdns_is_clock_stop(&sdw->cdns); - - intel_shim_init(sdw, clock_stop); + intel_shim_init(sdw); return 0; } |