aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2022-08-09 09:36:10 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2022-08-09 13:57:39 +0200
commitcf110404e3307bd2dba64889435b4b403f6940f4 (patch)
treed3f96148ff4ec51871aa2c45fb1cb45e58f26a45 /target
parente6e4f979999393825370e9db9fe04d75cb01acf2 (diff)
downloadupstream-cf110404e3307bd2dba64889435b4b403f6940f4.tar.gz
upstream-cf110404e3307bd2dba64889435b4b403f6940f4.tar.bz2
upstream-cf110404e3307bd2dba64889435b4b403f6940f4.zip
kernel: properly condition EM919x patch
Properly format and refresh patch Fixes: d03977faf4 ("kernel: backport support for Sierra Wireless EM919x modems") Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/generic/backport-5.15/780-v5.16-bus-mhi-pci_generic-Introduce-Sierra-EM919X-support.patch27
1 files changed, 23 insertions, 4 deletions
diff --git a/target/linux/generic/backport-5.15/780-v5.16-bus-mhi-pci_generic-Introduce-Sierra-EM919X-support.patch b/target/linux/generic/backport-5.15/780-v5.16-bus-mhi-pci_generic-Introduce-Sierra-EM919X-support.patch
index 47a123494e..5fe10e0caa 100644
--- a/target/linux/generic/backport-5.15/780-v5.16-bus-mhi-pci_generic-Introduce-Sierra-EM919X-support.patch
+++ b/target/linux/generic/backport-5.15/780-v5.16-bus-mhi-pci_generic-Introduce-Sierra-EM919X-support.patch
@@ -1,7 +1,26 @@
-Index: linux-5.15.58/drivers/bus/mhi/pci_generic.c
-===================================================================
---- linux-5.15.58.orig/drivers/bus/mhi/pci_generic.c
-+++ linux-5.15.58/drivers/bus/mhi/pci_generic.c
+From 789d3eeb2367f92193a0882f7cdab03f0f9d6930 Mon Sep 17 00:00:00 2001
+From: Thomas Perrot <thomas.perrot@bootlin.com>
+Date: Thu, 16 Dec 2021 13:42:27 +0530
+Subject: [PATCH] bus: mhi: pci_generic: Introduce Sierra EM919X support
+
+Add support for EM919X modems, this modem series is based on SDX55
+qcom chip.
+
+It is mandatory to use the same ring for control+data and diag events.
+
+Link: https://lore.kernel.org/r/20211123081541.648426-1-thomas.perrot@bootlin.com
+Tested-by: Aleksander Morgado <aleksander@aleksander.es>
+Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
+Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
+Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
+Link: https://lore.kernel.org/r/20211216081227.237749-11-manivannan.sadhasivam@linaro.org
+Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
+---
+ drivers/bus/mhi/pci_generic.c | 43 +++++++++++++++++++++++++++++++++++
+ 1 file changed, 43 insertions(+)
+
+--- a/drivers/bus/mhi/pci_generic.c
++++ b/drivers/bus/mhi/pci_generic.c
@@ -406,6 +406,46 @@ static const struct mhi_pci_dev_info mhi
.mru_default = 32768,
};