Skip to content

Commit

Permalink
soundwire: cadence: clear MCP BLOCK_WAKEUP in init
Browse files Browse the repository at this point in the history
Follow recommended programming flows.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
  • Loading branch information
plbossart committed Aug 6, 2024
1 parent 4f1361a commit 96dc311
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/soundwire/cadence_master.c
Original file line number Diff line number Diff line change
Expand Up @@ -1429,6 +1429,11 @@ int sdw_cdns_init(struct sdw_cdns *cdns)
cdns_ip_updatel(cdns, CDNS_IP_MCP_CONTROL, CDNS_IP_MCP_CONTROL_CMD_ACCEPT,
CDNS_IP_MCP_CONTROL_CMD_ACCEPT);

/* disable wakeup */
cdns_ip_updatel(cdns, CDNS_IP_MCP_CONTROL,
CDNS_IP_MCP_CONTROL_BLOCK_WAKEUP,
0);

/* Configure mcp config */
val = cdns_readl(cdns, CDNS_MCP_CONFIG);

Expand Down

0 comments on commit 96dc311

Please sign in to comment.