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 Jun 17, 2024
1 parent 3e8b6f5 commit 3ccc8c3
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 @@ -1395,6 +1395,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 3ccc8c3

Please sign in to comment.