From 645e752c5a84baeb21015cdc85fc05b7d16312c8 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Sat, 11 May 2024 01:13:52 +0000
Subject: [PATCH] disable i2c1
---
kernel/drivers/input/keyboard/bcm-keypad.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/kernel/drivers/input/keyboard/bcm-keypad.c b/kernel/drivers/input/keyboard/bcm-keypad.c
index e1cf63e..2b771c3 100644
--- a/kernel/drivers/input/keyboard/bcm-keypad.c
+++ b/kernel/drivers/input/keyboard/bcm-keypad.c
@@ -413,10 +413,8 @@
bcm_kp_stop(kp);
kp->irq = platform_get_irq(pdev, 0);
- if (kp->irq < 0) {
- dev_err(&pdev->dev, "no IRQ specified\n");
+ if (kp->irq < 0)
return -EINVAL;
- }
error = devm_request_threaded_irq(&pdev->dev, kp->irq,
NULL, bcm_kp_isr_thread,
--
Gitblit v1.6.2