Skip to content

Commit 2564a2d

Browse files
plbossartvinodkoul
authored andcommitted
soundwire: cadence: do not extend reset delay
The duration of the hw_reset is defined as 4096 cycles. The Cadence IP allows for an additional delay which doesn't seem necessary in practice: the actual reset sequence duration is defined by the sync_go mechanism, not by the IP itself. Signed-off-by: Pierre-Louis Bossart <[email protected]> Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 029bfd1 commit 2564a2d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/soundwire/cadence_master.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,10 +1032,7 @@ EXPORT_SYMBOL(sdw_cdns_check_self_clearing_bits);
10321032
*/
10331033
int sdw_cdns_exit_reset(struct sdw_cdns *cdns)
10341034
{
1035-
/* program maximum length reset to be safe */
1036-
cdns_updatel(cdns, CDNS_MCP_CONTROL,
1037-
CDNS_MCP_CONTROL_RST_DELAY,
1038-
CDNS_MCP_CONTROL_RST_DELAY);
1035+
/* keep reset delay unchanged to 4096 cycles */
10391036

10401037
/* use hardware generated reset */
10411038
cdns_updatel(cdns, CDNS_MCP_CONTROL,

0 commit comments

Comments
 (0)