mirror of
https://github.com/armbian/build.git
synced 2025-08-14 23:26:57 +02:00
* Add 88 new patches to series. tag: orange-pi-5.17-20220409-0454 * Fix the applicability of patches.megous to the v5.17.3 kernel * Fix series.conf. Disable the patch that is not being applied * Add support for sun50i-h6-orangepi-3-lts * Check the applicability in the series * Move to a patches.armbian folder * Bananapro: add AXP209 regulators * fix-gpio-kconfig remove if EXPERT to allow normal build * sunxi-5.17: Remove unused patches
48 lines
1.4 KiB
Diff
48 lines
1.4 KiB
Diff
From 14a679b92d3161cafde1793a146d2c2f8bb646e0 Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megi@xff.cz>
|
|
Date: Sun, 3 Apr 2022 16:16:24 +0200
|
|
Subject: [PATCH 533/544] Revert "input: kb151: Allow to disable the keyboard
|
|
input processing"
|
|
|
|
This reverts commit 4cd3283892e4cec986551e3c60e34699139dd5b9.
|
|
---
|
|
drivers/input/keyboard/kb151.c | 8 --------
|
|
1 file changed, 8 deletions(-)
|
|
|
|
diff --git a/drivers/input/keyboard/kb151.c b/drivers/input/keyboard/kb151.c
|
|
index 491c01dfd194..898a25d06ed6 100644
|
|
--- a/drivers/input/keyboard/kb151.c
|
|
+++ b/drivers/input/keyboard/kb151.c
|
|
@@ -82,10 +82,6 @@
|
|
#define DEFAULT_MAP_ROWS 12
|
|
#define DEFAULT_MAP_COLS 12
|
|
|
|
-static bool disable_input;
|
|
-module_param(disable_input, bool, S_IRUGO);
|
|
-MODULE_PARM_DESC(disable_input, "Disable the keyboard part of the driver");
|
|
-
|
|
static const u32 kb151_default_keymap[] = {
|
|
MATRIX_KEY(0, 0, KEY_ESC),
|
|
MATRIX_KEY(0, 1, KEY_1),
|
|
@@ -496,9 +492,6 @@ static int kb151_probe(struct i2c_client *client)
|
|
kb151->rows = kb_rows;
|
|
kb151->cols = kb_cols;
|
|
|
|
- if (disable_input)
|
|
- goto charger;
|
|
-
|
|
kb151->input = devm_input_allocate_device(dev);
|
|
if (!kb151->input)
|
|
return -ENOMEM;
|
|
@@ -530,7 +523,6 @@ static int kb151_probe(struct i2c_client *client)
|
|
if (ret)
|
|
return dev_err_probe(dev, ret, "Failed to register input\n");
|
|
|
|
-charger:
|
|
#ifdef CONFIG_IP5XXX_POWER
|
|
// we need to create a custom regmap_bus that will proxy
|
|
// charger register reads/writes via a keyboard MCU
|
|
--
|
|
2.34.1
|
|
|