Skip to content

Commit 0abc2f3

Browse files
authored
Merge pull request #2177 from aurora-silicon/j716c/sleep-ps-full-region
soc: apple: sleep: read a T6050 power word through its region
2 parents 9bb8bc5 + e4f54bd commit 0abc2f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/soc/apple/sleep.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,7 @@ static bool sleep_ps_on(struct apple_sleep *s, u32 offset)
26432643
/* Below full power the hardware has idled it, and its registers may not answer. */
26442644
static bool sleep_ps_full(struct apple_sleep *s, u32 offset)
26452645
{
2646-
return FIELD_GET(PS_ACTUAL, readl(s->ps + offset)) == FIELD_MAX(PS_ACTUAL);
2646+
return FIELD_GET(PS_ACTUAL, readl(sleep_power_reg(s, offset))) == FIELD_MAX(PS_ACTUAL);
26472647
}
26482648

26492649
/*

0 commit comments

Comments
 (0)