mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
25 lines
813 B
Diff
25 lines
813 B
Diff
From bcf74f4775f82ffc907ed6360d3a7bf5fb688fb1 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Wed, 22 Nov 2023 13:05:00 +0000
|
|
Subject: [PATCH 401/697] gpio-poweroff: Disable the WARN
|
|
|
|
With the new support for a chain of sys_off handlers, gpio-poweroff
|
|
does not disable a normal shutdown (though it does delay it). There
|
|
is therefore no need for the noisy WARN from the kernel.
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
drivers/power/reset/gpio-poweroff.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/power/reset/gpio-poweroff.c
|
|
+++ b/drivers/power/reset/gpio-poweroff.c
|
|
@@ -44,7 +44,7 @@ static int gpio_poweroff_do_poweroff(str
|
|
/* give it some time */
|
|
mdelay(gpio_poweroff->timeout_ms);
|
|
|
|
- WARN_ON(1);
|
|
+ //WARN_ON(1);
|
|
|
|
return NOTIFY_DONE;
|
|
}
|