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 10, 2024
1 parent 2d828f9 commit 8ac1dbf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/soundwire/cadence_master.c
Original file line number Diff line number Diff line change
Expand Up @@ -1412,6 +1412,10 @@ int sdw_cdns_init(struct sdw_cdns *cdns)
/* Set Multi-master mode to take gsync into account */
val |= CDNS_IP_MCP_CONFIG_MMASTER;

cdns_ip_updatel(cdns, CDNS_IP_MCP_CONTROL,
CDNS_IP_MCP_CONTROL_BLOCK_WAKEUP,
0);

/* leave frame delay to hardware default of 0x1F */

/* leave command retry to hardware default of 0 */
Expand Down

0 comments on commit 8ac1dbf

Please sign in to comment.