summaryrefslogtreecommitdiffstats
path: root/qcom-msm89xx-fixes.patch
diff options
context:
space:
mode:
authorLaura Abbott <labbott@fedoraproject.org>2017-07-24 08:56:42 -0700
committerLaura Abbott <labbott@fedoraproject.org>2017-07-24 08:56:42 -0700
commitf98f1ecd211393f0cf8ef6322b392696d6d7c41d (patch)
tree57a7f6ee942c9256eb8ac1c65a9ad2ef99c1876f /qcom-msm89xx-fixes.patch
parent10c9f7393a8f1e4e2d9d07e81f7cc86acaaff5b3 (diff)
downloadkernel-f98f1ecd211393f0cf8ef6322b392696d6d7c41d.tar.gz
kernel-f98f1ecd211393f0cf8ef6322b392696d6d7c41d.tar.xz
kernel-f98f1ecd211393f0cf8ef6322b392696d6d7c41d.zip
Linux v4.13-rc2
Diffstat (limited to 'qcom-msm89xx-fixes.patch')
-rw-r--r--qcom-msm89xx-fixes.patch48
1 files changed, 0 insertions, 48 deletions
diff --git a/qcom-msm89xx-fixes.patch b/qcom-msm89xx-fixes.patch
index ea2280131..a3298e432 100644
--- a/qcom-msm89xx-fixes.patch
+++ b/qcom-msm89xx-fixes.patch
@@ -1,51 +1,3 @@
-From ccdf75f90484a87ddb29649304156a503bf5a829 Mon Sep 17 00:00:00 2001
-From: Bjorn Andersson <bjorn.andersson@linaro.org>
-Date: Wed, 28 Jun 2017 16:44:58 -0700
-Subject: [PATCH 2/6] spmi: Include OF based modalias in device uevent
-
-Include the OF-based modalias in the uevent sent when registering SPMI
-devices, so that user space has a chance to autoload the kernel module
-for the device.
-
-Reported-by: Rob Clark <robdclark@gmail.com>
-Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
-Tested-by: Rob Clark <robdclark@gmail.com>
-Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
----
- drivers/spmi/spmi.c | 12 ++++++++++++
- 1 file changed, 12 insertions(+)
-
-diff --git a/drivers/spmi/spmi.c b/drivers/spmi/spmi.c
-index 2b9b0941d9eb..6d23226e5f69 100644
---- a/drivers/spmi/spmi.c
-+++ b/drivers/spmi/spmi.c
-@@ -365,11 +365,23 @@ static int spmi_drv_remove(struct device *dev)
- return 0;
- }
-
-+static int spmi_drv_uevent(struct device *dev, struct kobj_uevent_env *env)
-+{
-+ int ret;
-+
-+ ret = of_device_uevent_modalias(dev, env);
-+ if (ret != -ENODEV)
-+ return ret;
-+
-+ return 0;
-+}
-+
- static struct bus_type spmi_bus_type = {
- .name = "spmi",
- .match = spmi_device_match,
- .probe = spmi_drv_probe,
- .remove = spmi_drv_remove,
-+ .uevent = spmi_drv_uevent,
- };
-
- /**
---
-2.13.0
-
From 283d0e00a18b294ec56f1fb904896a546704faaf Mon Sep 17 00:00:00 2001
From: Rob Clark <robdclark@gmail.com>
Date: Fri, 30 Jun 2017 11:47:21 -0400