Browse Source

IPTS: Enable debug prints

qzed 6 years ago
parent
commit
a5e6433117

+ 1 - 1
patches/5.2/0001-surface-acpi.patch

@@ -1,4 +1,4 @@
-From 6e3f7064ceb76ee5d28ae13ff82a5389ab1dae41 Mon Sep 17 00:00:00 2001
+From 9b98d8261c388ab7b8b890f621f1987d6412d774 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:44:14 +0200
 Date: Fri, 26 Jul 2019 04:44:14 +0200
 Subject: [PATCH 01/12] surface-acpi
 Subject: [PATCH 01/12] surface-acpi

+ 4 - 4
patches/5.2/0002-suspend.patch

@@ -1,4 +1,4 @@
-From 650da81322f891cb9606f38e8613992f2013a9cd Mon Sep 17 00:00:00 2001
+From a5017ecfa0b620c7d7d86faf06d629ce4a2a3b1a Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:44:56 +0200
 Date: Fri, 26 Jul 2019 04:44:56 +0200
 Subject: [PATCH 02/12] suspend
 Subject: [PATCH 02/12] suspend
@@ -29,7 +29,7 @@ index 55553d293a98..506656ec65ea 100644
  
  
  /*
  /*
 diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
 diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
-index 524d6bd6d095..33b23fbff191 100644
+index f5bc1c30cef5..c163415503b8 100644
 --- a/drivers/nvme/host/pci.c
 --- a/drivers/nvme/host/pci.c
 +++ b/drivers/nvme/host/pci.c
 +++ b/drivers/nvme/host/pci.c
 @@ -23,6 +23,7 @@
 @@ -23,6 +23,7 @@
@@ -40,7 +40,7 @@ index 524d6bd6d095..33b23fbff191 100644
  
  
  #include "trace.h"
  #include "trace.h"
  #include "nvme.h"
  #include "nvme.h"
-@@ -2839,8 +2840,11 @@ static int nvme_suspend(struct device *dev)
+@@ -2847,8 +2848,11 @@ static int nvme_suspend(struct device *dev)
  {
  {
  	struct pci_dev *pdev = to_pci_dev(dev);
  	struct pci_dev *pdev = to_pci_dev(dev);
  	struct nvme_dev *ndev = pci_get_drvdata(pdev);
  	struct nvme_dev *ndev = pci_get_drvdata(pdev);
@@ -53,7 +53,7 @@ index 524d6bd6d095..33b23fbff191 100644
  	return 0;
  	return 0;
  }
  }
  
  
-@@ -2946,6 +2950,10 @@ static const struct pci_device_id nvme_id_table[] = {
+@@ -2954,6 +2958,10 @@ static const struct pci_device_id nvme_id_table[] = {
  		.driver_data = NVME_QUIRK_LIGHTNVM, },
  		.driver_data = NVME_QUIRK_LIGHTNVM, },
  	{ PCI_DEVICE(0x1d1d, 0x2601),	/* CNEX Granby */
  	{ PCI_DEVICE(0x1d1d, 0x2601),	/* CNEX Granby */
  		.driver_data = NVME_QUIRK_LIGHTNVM, },
  		.driver_data = NVME_QUIRK_LIGHTNVM, },

+ 8 - 8
patches/5.2/0003-buttons.patch

@@ -1,4 +1,4 @@
-From 4aeededdff17f504089c636a70133881becdad5a Mon Sep 17 00:00:00 2001
+From 7e1cb9d4aab83fe74b0e45a3a5d4eb475fb34f73 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:45:10 +0200
 Date: Fri, 26 Jul 2019 04:45:10 +0200
 Subject: [PATCH 03/12] buttons
 Subject: [PATCH 03/12] buttons
@@ -28,10 +28,10 @@ index d07c1eb15aa6..7d9ae394e597 100644
  	  To compile this driver as a module, choose M here: the
  	  To compile this driver as a module, choose M here: the
  	  module will be called soc_button_array.
  	  module will be called soc_button_array.
 diff --git a/drivers/input/misc/soc_button_array.c b/drivers/input/misc/soc_button_array.c
 diff --git a/drivers/input/misc/soc_button_array.c b/drivers/input/misc/soc_button_array.c
-index 55cd6e0b409c..8f21c062c85d 100644
+index 5e59f8e57f8e..6f0133fe1546 100644
 --- a/drivers/input/misc/soc_button_array.c
 --- a/drivers/input/misc/soc_button_array.c
 +++ b/drivers/input/misc/soc_button_array.c
 +++ b/drivers/input/misc/soc_button_array.c
-@@ -29,6 +29,11 @@ struct soc_button_info {
+@@ -25,6 +25,11 @@ struct soc_button_info {
  	bool wakeup;
  	bool wakeup;
  };
  };
  
  
@@ -43,7 +43,7 @@ index 55cd6e0b409c..8f21c062c85d 100644
  /*
  /*
   * Some of the buttons like volume up/down are auto repeat, while others
   * Some of the buttons like volume up/down are auto repeat, while others
   * are not. To support both, we register two platform devices, and put
   * are not. To support both, we register two platform devices, and put
-@@ -91,8 +96,13 @@ soc_button_device_create(struct platform_device *pdev,
+@@ -87,8 +92,13 @@ soc_button_device_create(struct platform_device *pdev,
  			continue;
  			continue;
  
  
  		gpio = soc_button_lookup_gpio(&pdev->dev, info->acpi_index);
  		gpio = soc_button_lookup_gpio(&pdev->dev, info->acpi_index);
@@ -191,10 +191,10 @@ index 55cd6e0b409c..8f21c062c85d 100644
  };
  };
  
  
 diff --git a/drivers/platform/x86/surfacepro3_button.c b/drivers/platform/x86/surfacepro3_button.c
 diff --git a/drivers/platform/x86/surfacepro3_button.c b/drivers/platform/x86/surfacepro3_button.c
-index 1b491690ce07..96627627060e 100644
+index 47c6d000465a..ec515223f654 100644
 --- a/drivers/platform/x86/surfacepro3_button.c
 --- a/drivers/platform/x86/surfacepro3_button.c
 +++ b/drivers/platform/x86/surfacepro3_button.c
 +++ b/drivers/platform/x86/surfacepro3_button.c
-@@ -24,6 +24,12 @@
+@@ -20,6 +20,12 @@
  #define SURFACE_BUTTON_OBJ_NAME		"VGBI"
  #define SURFACE_BUTTON_OBJ_NAME		"VGBI"
  #define SURFACE_BUTTON_DEVICE_NAME	"Surface Pro 3/4 Buttons"
  #define SURFACE_BUTTON_DEVICE_NAME	"Surface Pro 3/4 Buttons"
  
  
@@ -207,7 +207,7 @@ index 1b491690ce07..96627627060e 100644
  #define SURFACE_BUTTON_NOTIFY_TABLET_MODE	0xc8
  #define SURFACE_BUTTON_NOTIFY_TABLET_MODE	0xc8
  
  
  #define SURFACE_BUTTON_NOTIFY_PRESS_POWER	0xc6
  #define SURFACE_BUTTON_NOTIFY_PRESS_POWER	0xc6
-@@ -146,6 +152,44 @@ static int surface_button_resume(struct device *dev)
+@@ -142,6 +148,44 @@ static int surface_button_resume(struct device *dev)
  }
  }
  #endif
  #endif
  
  
@@ -252,7 +252,7 @@ index 1b491690ce07..96627627060e 100644
  static int surface_button_add(struct acpi_device *device)
  static int surface_button_add(struct acpi_device *device)
  {
  {
  	struct surface_button *button;
  	struct surface_button *button;
-@@ -158,6 +202,9 @@ static int surface_button_add(struct acpi_device *device)
+@@ -154,6 +198,9 @@ static int surface_button_add(struct acpi_device *device)
  	    strlen(SURFACE_BUTTON_OBJ_NAME)))
  	    strlen(SURFACE_BUTTON_OBJ_NAME)))
  		return -ENODEV;
  		return -ENODEV;
  
  

+ 1 - 1
patches/5.2/0004-cameras.patch

@@ -1,4 +1,4 @@
-From 322870ba12ce3a20155d4d445b43094f90836dd8 Mon Sep 17 00:00:00 2001
+From f8bcea016a8bb9b7c58a06a977dd838d265098b1 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:45:19 +0200
 Date: Fri, 26 Jul 2019 04:45:19 +0200
 Subject: [PATCH 04/12] cameras
 Subject: [PATCH 04/12] cameras

+ 3 - 3
patches/5.2/0005-ipts.patch

@@ -1,4 +1,4 @@
-From 6672cb0c64759c645086877d95e801bdd0c228f1 Mon Sep 17 00:00:00 2001
+From e1567eb4f8e8f69efcf9730efa17b56c0781f4da Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:45:32 +0200
 Date: Fri, 26 Jul 2019 04:45:32 +0200
 Subject: [PATCH 05/12] ipts
 Subject: [PATCH 05/12] ipts
@@ -5842,7 +5842,7 @@ index 000000000000..39a2eaf5f004
 +#endif // _IPTS_STATE_H_
 +#endif // _IPTS_STATE_H_
 diff --git a/drivers/misc/ipts/ipts.h b/drivers/misc/ipts/ipts.h
 diff --git a/drivers/misc/ipts/ipts.h b/drivers/misc/ipts/ipts.h
 new file mode 100644
 new file mode 100644
-index 000000000000..1fcd02146b50
+index 000000000000..9c34b55ff036
 --- /dev/null
 --- /dev/null
 +++ b/drivers/misc/ipts/ipts.h
 +++ b/drivers/misc/ipts/ipts.h
 @@ -0,0 +1,200 @@
 @@ -0,0 +1,200 @@
@@ -5874,7 +5874,7 @@ index 000000000000..1fcd02146b50
 +#include "ipts-state.h"
 +#include "ipts-state.h"
 +#include "ipts-binary-spec.h"
 +#include "ipts-binary-spec.h"
 +
 +
-+//#define ENABLE_IPTS_DEBUG		/* enable IPTS debug */
++#define ENABLE_IPTS_DEBUG		/* enable IPTS debug */
 +
 +
 +#ifdef ENABLE_IPTS_DEBUG
 +#ifdef ENABLE_IPTS_DEBUG
 +
 +

+ 1 - 1
patches/5.2/0006-hid.patch

@@ -1,4 +1,4 @@
-From 22b73627861a495e2eadc105b6f4c97d7eea5356 Mon Sep 17 00:00:00 2001
+From eb09d34d712ce43d1e49a7688fbd546b765a51e3 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:45:42 +0200
 Date: Fri, 26 Jul 2019 04:45:42 +0200
 Subject: [PATCH 06/12] hid
 Subject: [PATCH 06/12] hid

+ 2 - 2
patches/5.2/0007-sdcard-reader.patch

@@ -1,4 +1,4 @@
-From 6a4d910235d90084741830edfbb83b6cb0a24aa4 Mon Sep 17 00:00:00 2001
+From cb930c106c5fc77a82b5618a90505969cad891d0 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:45:55 +0200
 Date: Fri, 26 Jul 2019 04:45:55 +0200
 Subject: [PATCH 07/12] sdcard-reader
 Subject: [PATCH 07/12] sdcard-reader
@@ -8,7 +8,7 @@ Subject: [PATCH 07/12] sdcard-reader
  1 file changed, 2 insertions(+), 1 deletion(-)
  1 file changed, 2 insertions(+), 1 deletion(-)
 
 
 diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
 diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c
-index 2f94568ba385..b90ed9c06449 100644
+index 2c8e60c7dbd8..f22772c79735 100644
 --- a/drivers/usb/core/hub.c
 --- a/drivers/usb/core/hub.c
 +++ b/drivers/usb/core/hub.c
 +++ b/drivers/usb/core/hub.c
 @@ -4201,7 +4201,8 @@ void usb_enable_lpm(struct usb_device *udev)
 @@ -4201,7 +4201,8 @@ void usb_enable_lpm(struct usb_device *udev)

+ 1 - 1
patches/5.2/0008-wifi.patch

@@ -1,4 +1,4 @@
-From bf71437cc35f685cca2d8e4bde29f85815cc5a14 Mon Sep 17 00:00:00 2001
+From 4ed9479cb2f70e1f70d0fad46f5e9520bcf5d343 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:46:16 +0200
 Date: Fri, 26 Jul 2019 04:46:16 +0200
 Subject: [PATCH 08/12] wifi
 Subject: [PATCH 08/12] wifi

+ 1 - 1
patches/5.2/0009-surface3-power.patch

@@ -1,4 +1,4 @@
-From dd6ade6ff8b50bdb53c2c4433e47e7eb4928e57d Mon Sep 17 00:00:00 2001
+From b86a410281265c14152d3389974b47948b4a2b3e Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:46:48 +0200
 Date: Fri, 26 Jul 2019 04:46:48 +0200
 Subject: [PATCH 09/12] surface3-power
 Subject: [PATCH 09/12] surface3-power

+ 1 - 1
patches/5.2/0010-mwlwifi.patch

@@ -1,4 +1,4 @@
-From 7f9b63420584b1d54d6289639a5ffac2e67e3e5c Mon Sep 17 00:00:00 2001
+From 2230abf98a6f22cc91e50f33c619c18a8e0acacb Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:47:02 +0200
 Date: Fri, 26 Jul 2019 04:47:02 +0200
 Subject: [PATCH 10/12] mwlwifi
 Subject: [PATCH 10/12] mwlwifi

+ 1 - 1
patches/5.2/0011-surface-lte.patch

@@ -1,4 +1,4 @@
-From 89effd44e6f7059c8cde5a89d693a5ecbc07a235 Mon Sep 17 00:00:00 2001
+From d5f08272b93c572c64ae545bfb7d690a0221f882 Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:47:13 +0200
 Date: Fri, 26 Jul 2019 04:47:13 +0200
 Subject: [PATCH 11/12] surface-lte
 Subject: [PATCH 11/12] surface-lte

+ 1 - 1
patches/5.2/0012-surfacebook2-dgpu.patch

@@ -1,4 +1,4 @@
-From f50a04775fc653b5108520817ade7870753b6af6 Mon Sep 17 00:00:00 2001
+From 4ddea969d6d0ecb6d55e95159cdd7d302c0fc2bd Mon Sep 17 00:00:00 2001
 From: Maximilian Luz <luzmaximilian@gmail.com>
 From: Maximilian Luz <luzmaximilian@gmail.com>
 Date: Fri, 26 Jul 2019 04:47:27 +0200
 Date: Fri, 26 Jul 2019 04:47:27 +0200
 Subject: [PATCH 12/12] surfacebook2-dgpu
 Subject: [PATCH 12/12] surfacebook2-dgpu