Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d9d2b50 authored by Satyajit Desai's avatar Satyajit Desai
Browse files

soc: qcom: dcc_v2: Add timeout for linked list



Program max timeout for all the linked list that we program.
The timeout will prevent the debug flow from stalling.

Change-Id: I859c451bc6c4ceccfe33b8d6c476f48e4541125a
Signed-off-by: default avatarSatyajit Desai <sadesai@codeaurora.org>
parent 010ff9e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -598,7 +598,7 @@ static int dcc_enable(struct dcc_drvdata *drvdata)
				   drvdata->ram_offset/4, DCC_LL_BASE(list));
			dcc_writel(drvdata, drvdata->ram_start +
				   drvdata->ram_offset/4, DCC_FD_BASE(list));
			dcc_writel(drvdata, 0, DCC_LL_TIMEOUT(list));
			dcc_writel(drvdata, 0xFFF, DCC_LL_TIMEOUT(list));
		}

		/* 4. Configure trigger, data sink and function type */