summaryrefslogtreecommitdiffstats
path: root/qcom-msm89xx-fixes.patch
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2019-05-16 15:35:54 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2019-05-16 15:35:54 -0500
commit5b72efed7d36bbd4c756713d8452f00c3daa4513 (patch)
tree7af546406661978fffb7d1d919dffd3c12d30835 /qcom-msm89xx-fixes.patch
parentdf4525c1951da2c2f5b0b8c4249ffa46023f96fb (diff)
downloadkernel-5b72efed7d36bbd4c756713d8452f00c3daa4513.tar.gz
kernel-5b72efed7d36bbd4c756713d8452f00c3daa4513.tar.xz
kernel-5b72efed7d36bbd4c756713d8452f00c3daa4513.zip
Linux v5.1-12065-g8c05f3b965da
Diffstat (limited to 'qcom-msm89xx-fixes.patch')
-rw-r--r--qcom-msm89xx-fixes.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/qcom-msm89xx-fixes.patch b/qcom-msm89xx-fixes.patch
deleted file mode 100644
index 4bc06ebd2..000000000
--- a/qcom-msm89xx-fixes.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From cadf6ce5a3929b42b0e63fe36d0c08bf6b59f25e Mon Sep 17 00:00:00 2001
-From: Rob Clark <robdclark@gmail.com>
-Date: Fri, 30 Jun 2017 16:40:23 -0400
-Subject: [PATCH] thermal: qcom: tsens: fix crash due to incorrect __init
-
-init_common() is called from probe, which can happen after the __init
-section is already unloaded in the case of -EPROBE_DEFER. Causing a
-later probe to attempt to branch to hyperspace.
-
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Rob Clark <robdclark@gmail.com>
-Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
----
- drivers/thermal/qcom/tsens-common.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/drivers/thermal/qcom/tsens-common.c b/drivers/thermal/qcom/tsens-common.c
-index 6207d8d92351..920167c6eac5 100644
---- a/drivers/thermal/qcom/tsens-common.c
-+++ b/drivers/thermal/qcom/tsens-common.c
-@@ -124,7 +124,7 @@ static const struct regmap_config tsens_config = {
- .reg_stride = 4,
- };
-
--int __init init_common(struct tsens_device *tmdev)
-+int init_common(struct tsens_device *tmdev)
- {
- void __iomem *tm_base, *srot_base;
- struct resource *res;
---
-2.17.1
-