lkml.org 
[lkml]   [2020]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 15/16] soundwire: cadence: commit changes in the exit_reset() sequence
Date
Follow recommended flows, the BUS_RESET must be programmed before the
UPDATE_CONFIG.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
---
drivers/soundwire/cadence_master.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c
index acafa6222171..112f4ebcf1be 100644
--- a/drivers/soundwire/cadence_master.c
+++ b/drivers/soundwire/cadence_master.c
@@ -1074,7 +1074,6 @@ static void cdns_init_clock_ctrl(struct sdw_cdns *cdns)
int sdw_cdns_init(struct sdw_cdns *cdns)
{
u32 val;
- int ret;

cdns_init_clock_ctrl(cdns);

@@ -1113,8 +1112,8 @@ int sdw_cdns_init(struct sdw_cdns *cdns)

cdns_writel(cdns, CDNS_MCP_CONFIG, val);

- /* commit changes */
- return cdns_config_update(cdns);
+ /* changes will be committed later */
+ return 0;
}
EXPORT_SYMBOL(sdw_cdns_init);

--
2.20.1
\
 
 \ /
  Last update: 2020-03-11 19:42    [W:0.175 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site