mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
coresight-etm4x: Don't set LPOVERRIDE bit when tupwr-disable is true
Don't set LPOVERRIDE bit when tupwr-disable is true to avoid the cpu hang issue. Change-Id: Ie12b6faa3a39e35fac1566690771321a79e99bae Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>
This commit is contained in:
parent
c5d20367bc
commit
dc5dfae44f
1 changed files with 1 additions and 1 deletions
|
|
@ -383,7 +383,7 @@ static ssize_t mode_store(struct device *dev,
|
|||
|
||||
/* bit[12], Low-power state behavior override bit */
|
||||
if ((config->mode & ETM_MODE_LPOVERRIDE) &&
|
||||
(drvdata->lpoverride == true))
|
||||
(drvdata->lpoverride == true) && !drvdata->tupwr_disable)
|
||||
config->eventctrl1 |= BIT(12);
|
||||
else
|
||||
config->eventctrl1 &= ~BIT(12);
|
||||
|
|
|
|||
Loading…
Reference in a new issue