mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
rk35xx/legacy: rewrite-kernel-patches, no changes
This commit is contained in:
@@ -1,13 +1,22 @@
|
||||
Signed-off-by: Ivan Mironov <mironov.ivan@gmail.com>
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: monkaBlyat <54044929+monkaBlyat@users.noreply.github.com>
|
||||
Date: Sun, 18 Aug 2024 10:39:57 +0200
|
||||
Subject: [ARCHEOLOGY] legacy kernel patch for ds4 controllers
|
||||
|
||||
> X-Git-Archeology: - Revision 54cc6ea4e2460c31960b7cbef5d27d588534eb77: https://github.com/armbian/build/commit/54cc6ea4e2460c31960b7cbef5d27d588534eb77
|
||||
> X-Git-Archeology: Date: Sun, 18 Aug 2024 10:39:57 +0200
|
||||
> X-Git-Archeology: From: monkaBlyat <54044929+monkaBlyat@users.noreply.github.com>
|
||||
> X-Git-Archeology: Subject: legacy kernel patch for ds4 controllers
|
||||
> X-Git-Archeology:
|
||||
---
|
||||
drivers/hid/hid-sony.c | 72 ++++++++++++++++++++++++++++++------------
|
||||
drivers/hid/hid-sony.c | 72 +++++++---
|
||||
1 file changed, 52 insertions(+), 20 deletions(-)
|
||||
|
||||
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c
|
||||
index e3a557dc9ffd..97df12180e45 100644
|
||||
index 111111111111..222222222222 100644
|
||||
--- a/drivers/hid/hid-sony.c
|
||||
+++ b/drivers/hid/hid-sony.c
|
||||
@@ -491,6 +491,7 @@ struct motion_output_report_02 {
|
||||
@@ -476,6 +476,7 @@ struct motion_output_report_02 {
|
||||
|
||||
#define DS4_FEATURE_REPORT_0x02_SIZE 37
|
||||
#define DS4_FEATURE_REPORT_0x05_SIZE 41
|
||||
@@ -15,7 +24,7 @@ index e3a557dc9ffd..97df12180e45 100644
|
||||
#define DS4_FEATURE_REPORT_0x81_SIZE 7
|
||||
#define DS4_FEATURE_REPORT_0xA3_SIZE 49
|
||||
#define DS4_INPUT_REPORT_0x11_SIZE 78
|
||||
@@ -2593,6 +2594,53 @@ static int sony_get_bt_devaddr(struct sony_sc *sc)
|
||||
@@ -2454,6 +2455,53 @@ static int sony_get_bt_devaddr(struct sony_sc *sc)
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -69,7 +78,7 @@ index e3a557dc9ffd..97df12180e45 100644
|
||||
static int sony_check_add(struct sony_sc *sc)
|
||||
{
|
||||
u8 *buf = NULL;
|
||||
@@ -2613,26 +2661,9 @@ static int sony_check_add(struct sony_sc *sc)
|
||||
@@ -2474,26 +2522,9 @@ static int sony_check_add(struct sony_sc *sc)
|
||||
return 0;
|
||||
}
|
||||
} else if (sc->quirks & (DUALSHOCK4_CONTROLLER_USB | DUALSHOCK4_DONGLE)) {
|
||||
@@ -99,7 +108,7 @@ index e3a557dc9ffd..97df12180e45 100644
|
||||
|
||||
snprintf(sc->hdev->uniq, sizeof(sc->hdev->uniq),
|
||||
"%pMR", sc->mac_address);
|
||||
@@ -2670,6 +2701,7 @@ static int sony_check_add(struct sony_sc *sc)
|
||||
@@ -2531,6 +2562,7 @@ static int sony_check_add(struct sony_sc *sc)
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -108,4 +117,5 @@ index e3a557dc9ffd..97df12180e45 100644
|
||||
|
||||
out_free:
|
||||
--
|
||||
2.29.2
|
||||
Armbian
|
||||
|
||||
|
||||
Reference in New Issue
Block a user