Commit b17350e4 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Vinod Koul
Browse files

soundwire: cadence: commit changes in the exit_reset() sequence



Follow recommended flows, the BUS_RESET must be programmed before the
UPDATE_CONFIG.

Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200317163329.25501-16-pierre-louis.bossart@linux.intel.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent ad473db4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -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);