ALARM_EN status is retained in PMIC register after device shutdown
if poweron_alarm is enabled. Read it to make sure the driver has
consistent value with the register status.
Signed-off-by: Guixiong Wei
---
drivers/rtc/rtc-pm8xxx.c | 9 +
1 file changed, 9 insertions(+)
diff --git
__pfn_to_section() helper which already wraps around
__nr_to_section(pfn_to_section_nr(pfn)), should be used
directly instead.
Signed-off-by: Guixiong Wei
---
v1 -> v2
- reword the commit message.
---
arch/arm64/mm/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
Use __pfn_to_section() to get mem_section, instead of open-coding it.
No semantic changes.
Signed-off-by: Guixiong Wei
---
arch/arm64/mm/init.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/mm/init.c b/arch/arm64/mm/init.c
index e42727e3568e..d2df416b840e 100644
3 matches
Mail list logo