From 98ffd3e2a53f8d2188fd47ebf2257698ed3c4076 Mon Sep 17 00:00:00 2001 From: Ondrej Jirman Date: Fri, 9 Dec 2022 21:49:26 +0100 Subject: [PATCH 386/464] misc: ppkb-manager: Disable ppkb-manager by default (can be enabled at runtime) Signed-off-by: Ondrej Jirman --- drivers/misc/ppkb-manager.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/ppkb-manager.c b/drivers/misc/ppkb-manager.c index 98e2e39c39be..b4c7a03b6b1d 100644 --- a/drivers/misc/ppkb-manager.c +++ b/drivers/misc/ppkb-manager.c @@ -847,7 +847,8 @@ static int kbpwr_probe(struct platform_device *pdev) dev_info(dev, "Pinephone keyboard power manager ready\n"); - set_bit(KBPWR_F_EMERGENCY_SHUTDOWN, kbpwr->flags); + //set_bit(KBPWR_F_EMERGENCY_SHUTDOWN, kbpwr->flags); + set_bit(KBPWR_F_DISABLED, kbpwr->flags); queue_delayed_work(kbpwr->wq, &kbpwr->work, msecs_to_jiffies(10000)); -- 2.34.1