Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a5e6433

Browse files
committed
IPTS: Enable debug prints
1 parent f52dae4 commit a5e6433

12 files changed

+25
-25
lines changed

patches/5.2/0001-surface-acpi.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 6e3f7064ceb76ee5d28ae13ff82a5389ab1dae41 Mon Sep 17 00:00:00 2001
1+
From 9b98d8261c388ab7b8b890f621f1987d6412d774 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:44:14 +0200
44
Subject: [PATCH 01/12] surface-acpi

patches/5.2/0002-suspend.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 650da81322f891cb9606f38e8613992f2013a9cd Mon Sep 17 00:00:00 2001
1+
From a5017ecfa0b620c7d7d86faf06d629ce4a2a3b1a Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:44:56 +0200
44
Subject: [PATCH 02/12] suspend
@@ -29,7 +29,7 @@ index 55553d293a98..506656ec65ea 100644
2929

3030
/*
3131
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
32-
index 524d6bd6d095..33b23fbff191 100644
32+
index f5bc1c30cef5..c163415503b8 100644
3333
--- a/drivers/nvme/host/pci.c
3434
+++ b/drivers/nvme/host/pci.c
3535
@@ -23,6 +23,7 @@
@@ -40,7 +40,7 @@ index 524d6bd6d095..33b23fbff191 100644
4040

4141
#include "trace.h"
4242
#include "nvme.h"
43-
@@ -2839,8 +2840,11 @@ static int nvme_suspend(struct device *dev)
43+
@@ -2847,8 +2848,11 @@ static int nvme_suspend(struct device *dev)
4444
{
4545
struct pci_dev *pdev = to_pci_dev(dev);
4646
struct nvme_dev *ndev = pci_get_drvdata(pdev);
@@ -53,7 +53,7 @@ index 524d6bd6d095..33b23fbff191 100644
5353
return 0;
5454
}
5555

56-
@@ -2946,6 +2950,10 @@ static const struct pci_device_id nvme_id_table[] = {
56+
@@ -2954,6 +2958,10 @@ static const struct pci_device_id nvme_id_table[] = {
5757
.driver_data = NVME_QUIRK_LIGHTNVM, },
5858
{ PCI_DEVICE(0x1d1d, 0x2601), /* CNEX Granby */
5959
.driver_data = NVME_QUIRK_LIGHTNVM, },

patches/5.2/0003-buttons.patch

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 4aeededdff17f504089c636a70133881becdad5a Mon Sep 17 00:00:00 2001
1+
From 7e1cb9d4aab83fe74b0e45a3a5d4eb475fb34f73 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:45:10 +0200
44
Subject: [PATCH 03/12] buttons
@@ -28,10 +28,10 @@ index d07c1eb15aa6..7d9ae394e597 100644
2828
To compile this driver as a module, choose M here: the
2929
module will be called soc_button_array.
3030
diff --git a/drivers/input/misc/soc_button_array.c b/drivers/input/misc/soc_button_array.c
31-
index 55cd6e0b409c..8f21c062c85d 100644
31+
index 5e59f8e57f8e..6f0133fe1546 100644
3232
--- a/drivers/input/misc/soc_button_array.c
3333
+++ b/drivers/input/misc/soc_button_array.c
34-
@@ -29,6 +29,11 @@ struct soc_button_info {
34+
@@ -25,6 +25,11 @@ struct soc_button_info {
3535
bool wakeup;
3636
};
3737

@@ -43,7 +43,7 @@ index 55cd6e0b409c..8f21c062c85d 100644
4343
/*
4444
* Some of the buttons like volume up/down are auto repeat, while others
4545
* are not. To support both, we register two platform devices, and put
46-
@@ -91,8 +96,13 @@ soc_button_device_create(struct platform_device *pdev,
46+
@@ -87,8 +92,13 @@ soc_button_device_create(struct platform_device *pdev,
4747
continue;
4848

4949
gpio = soc_button_lookup_gpio(&pdev->dev, info->acpi_index);
@@ -191,10 +191,10 @@ index 55cd6e0b409c..8f21c062c85d 100644
191191
};
192192

193193
diff --git a/drivers/platform/x86/surfacepro3_button.c b/drivers/platform/x86/surfacepro3_button.c
194-
index 1b491690ce07..96627627060e 100644
194+
index 47c6d000465a..ec515223f654 100644
195195
--- a/drivers/platform/x86/surfacepro3_button.c
196196
+++ b/drivers/platform/x86/surfacepro3_button.c
197-
@@ -24,6 +24,12 @@
197+
@@ -20,6 +20,12 @@
198198
#define SURFACE_BUTTON_OBJ_NAME "VGBI"
199199
#define SURFACE_BUTTON_DEVICE_NAME "Surface Pro 3/4 Buttons"
200200

@@ -207,7 +207,7 @@ index 1b491690ce07..96627627060e 100644
207207
#define SURFACE_BUTTON_NOTIFY_TABLET_MODE 0xc8
208208

209209
#define SURFACE_BUTTON_NOTIFY_PRESS_POWER 0xc6
210-
@@ -146,6 +152,44 @@ static int surface_button_resume(struct device *dev)
210+
@@ -142,6 +148,44 @@ static int surface_button_resume(struct device *dev)
211211
}
212212
#endif
213213

@@ -252,7 +252,7 @@ index 1b491690ce07..96627627060e 100644
252252
static int surface_button_add(struct acpi_device *device)
253253
{
254254
struct surface_button *button;
255-
@@ -158,6 +202,9 @@ static int surface_button_add(struct acpi_device *device)
255+
@@ -154,6 +198,9 @@ static int surface_button_add(struct acpi_device *device)
256256
strlen(SURFACE_BUTTON_OBJ_NAME)))
257257
return -ENODEV;
258258

patches/5.2/0004-cameras.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 322870ba12ce3a20155d4d445b43094f90836dd8 Mon Sep 17 00:00:00 2001
1+
From f8bcea016a8bb9b7c58a06a977dd838d265098b1 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:45:19 +0200
44
Subject: [PATCH 04/12] cameras

patches/5.2/0005-ipts.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 6672cb0c64759c645086877d95e801bdd0c228f1 Mon Sep 17 00:00:00 2001
1+
From e1567eb4f8e8f69efcf9730efa17b56c0781f4da Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:45:32 +0200
44
Subject: [PATCH 05/12] ipts
@@ -5842,7 +5842,7 @@ index 000000000000..39a2eaf5f004
58425842
+#endif // _IPTS_STATE_H_
58435843
diff --git a/drivers/misc/ipts/ipts.h b/drivers/misc/ipts/ipts.h
58445844
new file mode 100644
5845-
index 000000000000..1fcd02146b50
5845+
index 000000000000..9c34b55ff036
58465846
--- /dev/null
58475847
+++ b/drivers/misc/ipts/ipts.h
58485848
@@ -0,0 +1,200 @@
@@ -5874,7 +5874,7 @@ index 000000000000..1fcd02146b50
58745874
+#include "ipts-state.h"
58755875
+#include "ipts-binary-spec.h"
58765876
+
5877-
+//#define ENABLE_IPTS_DEBUG /* enable IPTS debug */
5877+
+#define ENABLE_IPTS_DEBUG /* enable IPTS debug */
58785878
+
58795879
+#ifdef ENABLE_IPTS_DEBUG
58805880
+

patches/5.2/0006-hid.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 22b73627861a495e2eadc105b6f4c97d7eea5356 Mon Sep 17 00:00:00 2001
1+
From eb09d34d712ce43d1e49a7688fbd546b765a51e3 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:45:42 +0200
44
Subject: [PATCH 06/12] hid

patches/5.2/0007-sdcard-reader.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 6a4d910235d90084741830edfbb83b6cb0a24aa4 Mon Sep 17 00:00:00 2001
1+
From cb930c106c5fc77a82b5618a90505969cad891d0 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:45:55 +0200
44
Subject: [PATCH 07/12] sdcard-reader
@@ -8,7 +8,7 @@ Subject: [PATCH 07/12] sdcard-reader
88
1 file changed, 2 insertions(+), 1 deletion(-)
99

1010
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
11-
index 2f94568ba385..b90ed9c06449 100644
11+
index 2c8e60c7dbd8..f22772c79735 100644
1212
--- a/drivers/usb/core/hub.c
1313
+++ b/drivers/usb/core/hub.c
1414
@@ -4201,7 +4201,8 @@ void usb_enable_lpm(struct usb_device *udev)

patches/5.2/0008-wifi.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From bf71437cc35f685cca2d8e4bde29f85815cc5a14 Mon Sep 17 00:00:00 2001
1+
From 4ed9479cb2f70e1f70d0fad46f5e9520bcf5d343 Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:46:16 +0200
44
Subject: [PATCH 08/12] wifi

patches/5.2/0009-surface3-power.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From dd6ade6ff8b50bdb53c2c4433e47e7eb4928e57d Mon Sep 17 00:00:00 2001
1+
From b86a410281265c14152d3389974b47948b4a2b3e Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:46:48 +0200
44
Subject: [PATCH 09/12] surface3-power

patches/5.2/0010-mwlwifi.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 7f9b63420584b1d54d6289639a5ffac2e67e3e5c Mon Sep 17 00:00:00 2001
1+
From 2230abf98a6f22cc91e50f33c619c18a8e0acacb Mon Sep 17 00:00:00 2001
22
From: Maximilian Luz <[email protected]>
33
Date: Fri, 26 Jul 2019 04:47:02 +0200
44
Subject: [PATCH 10/12] mwlwifi

0 commit comments

Comments
 (0)