+++ /dev/null
-From 4e5cff956224a5cb9216206fb5ba973ea6b5529a Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 7 Nov 2019 11:19:50 +0000
-Subject: mfd: mfd-core: Honour Device Tree's request to disable a child-device
-
-From: Lee Jones <lee.jones@linaro.org>
-
-[ Upstream commit 6b5c350648b857047b47acf74a57087ad27d6183 ]
-
-Until now, MFD has assumed all child devices passed to it (via
-mfd_cells) are to be registered. It does not take into account
-requests from Device Tree and the like to disable child devices
-on a per-platform basis.
-
-Well now it does.
-
-Link: https://www.spinics.net/lists/arm-kernel/msg366309.html
-Link: https://lkml.org/lkml/2019/8/22/1350
-
-Reported-by: Barry Song <Baohua.Song@csr.com>
-Reported-by: Stephan Gerhold <stephan@gerhold.net>
-Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
-Reviewed-by: Mark Brown <broonie@kernel.org>
-Tested-by: Stephan Gerhold <stephan@gerhold.net>
-Signed-off-by: Lee Jones <lee.jones@linaro.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/mfd/mfd-core.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
-index 5c8ed2150c8b..fae7bfe7a21a 100644
---- a/drivers/mfd/mfd-core.c
-+++ b/drivers/mfd/mfd-core.c
-@@ -178,6 +178,11 @@ static int mfd_add_device(struct device *parent, int id,
- if (parent->of_node && cell->of_compatible) {
- for_each_child_of_node(parent->of_node, np) {
- if (of_device_is_compatible(np, cell->of_compatible)) {
-+ if (!of_device_is_available(np)) {
-+ /* Ignore disabled devices error free */
-+ ret = 0;
-+ goto fail_alias;
-+ }
- pdev->dev.of_node = np;
- pdev->dev.fwnode = &np->fwnode;
- break;
---
-2.20.1
-
clk-qcom-allow-constant-ratio-freq-tables-for-rcg.patch
irqchip-irq-bcm7038-l1-enable-parent-irq-if-necessar.patch
irqchip-ingenic-error-out-if-irq-domain-creation-fai.patch
-mfd-mfd-core-honour-device-tree-s-request-to-disable.patch
fs-quota-handle-overflows-of-sysctl-fs.quota.-and-re.patch
scsi-lpfc-fix-coverity-lpfc_cmpl_els_rsp-null-pointe.patch
scsi-ufs-fix-potential-bug-which-ends-in-system-hang.patch
+++ /dev/null
-From 5431ded60a1249efb98425e22d09610930a3be17 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 7 Nov 2019 11:19:50 +0000
-Subject: mfd: mfd-core: Honour Device Tree's request to disable a child-device
-
-From: Lee Jones <lee.jones@linaro.org>
-
-[ Upstream commit 6b5c350648b857047b47acf74a57087ad27d6183 ]
-
-Until now, MFD has assumed all child devices passed to it (via
-mfd_cells) are to be registered. It does not take into account
-requests from Device Tree and the like to disable child devices
-on a per-platform basis.
-
-Well now it does.
-
-Link: https://www.spinics.net/lists/arm-kernel/msg366309.html
-Link: https://lkml.org/lkml/2019/8/22/1350
-
-Reported-by: Barry Song <Baohua.Song@csr.com>
-Reported-by: Stephan Gerhold <stephan@gerhold.net>
-Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
-Reviewed-by: Mark Brown <broonie@kernel.org>
-Tested-by: Stephan Gerhold <stephan@gerhold.net>
-Signed-off-by: Lee Jones <lee.jones@linaro.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/mfd/mfd-core.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
-index 182973df1aed..99a9c5c56ea9 100644
---- a/drivers/mfd/mfd-core.c
-+++ b/drivers/mfd/mfd-core.c
-@@ -178,6 +178,11 @@ static int mfd_add_device(struct device *parent, int id,
- if (parent->of_node && cell->of_compatible) {
- for_each_child_of_node(parent->of_node, np) {
- if (of_device_is_compatible(np, cell->of_compatible)) {
-+ if (!of_device_is_available(np)) {
-+ /* Ignore disabled devices error free */
-+ ret = 0;
-+ goto fail_alias;
-+ }
- pdev->dev.of_node = np;
- pdev->dev.fwnode = &np->fwnode;
- break;
---
-2.20.1
-
clk-clk-gpio-propagate-rate-change-to-parent.patch
irqchip-irq-bcm7038-l1-enable-parent-irq-if-necessar.patch
irqchip-ingenic-error-out-if-irq-domain-creation-fai.patch
-mfd-mfd-core-honour-device-tree-s-request-to-disable.patch
fs-quota-handle-overflows-of-sysctl-fs.quota.-and-re.patch
scsi-lpfc-fix-coverity-lpfc_cmpl_els_rsp-null-pointe.patch
pci-rpaphp-fix-up-pointer-to-first-drc-info-entry.patch
+++ /dev/null
-From 6ebc41f96e8756fa51c46ebe291c092b99253905 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 7 Nov 2019 11:19:50 +0000
-Subject: mfd: mfd-core: Honour Device Tree's request to disable a child-device
-
-From: Lee Jones <lee.jones@linaro.org>
-
-[ Upstream commit 6b5c350648b857047b47acf74a57087ad27d6183 ]
-
-Until now, MFD has assumed all child devices passed to it (via
-mfd_cells) are to be registered. It does not take into account
-requests from Device Tree and the like to disable child devices
-on a per-platform basis.
-
-Well now it does.
-
-Link: https://www.spinics.net/lists/arm-kernel/msg366309.html
-Link: https://lkml.org/lkml/2019/8/22/1350
-
-Reported-by: Barry Song <Baohua.Song@csr.com>
-Reported-by: Stephan Gerhold <stephan@gerhold.net>
-Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
-Reviewed-by: Mark Brown <broonie@kernel.org>
-Tested-by: Stephan Gerhold <stephan@gerhold.net>
-Signed-off-by: Lee Jones <lee.jones@linaro.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/mfd/mfd-core.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
-index 215bb5eeb5ac..85f4e5582371 100644
---- a/drivers/mfd/mfd-core.c
-+++ b/drivers/mfd/mfd-core.c
-@@ -177,6 +177,11 @@ static int mfd_add_device(struct device *parent, int id,
- if (parent->of_node && cell->of_compatible) {
- for_each_child_of_node(parent->of_node, np) {
- if (of_device_is_compatible(np, cell->of_compatible)) {
-+ if (!of_device_is_available(np)) {
-+ /* Ignore disabled devices error free */
-+ ret = 0;
-+ goto fail_alias;
-+ }
- pdev->dev.of_node = np;
- pdev->dev.fwnode = &np->fwnode;
- break;
---
-2.20.1
-
clk-qcom-allow-constant-ratio-freq-tables-for-rcg.patch
irqchip-irq-bcm7038-l1-enable-parent-irq-if-necessar.patch
irqchip-ingenic-error-out-if-irq-domain-creation-fai.patch
-mfd-mfd-core-honour-device-tree-s-request-to-disable.patch
fs-quota-handle-overflows-of-sysctl-fs.quota.-and-re.patch
scsi-lpfc-fix-coverity-lpfc_cmpl_els_rsp-null-pointe.patch
scsi-ufs-fix-potential-bug-which-ends-in-system-hang.patch
+++ /dev/null
-From cc8054e433e464f82954cc3ec7d145fe235e81d1 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 7 Nov 2019 11:19:50 +0000
-Subject: mfd: mfd-core: Honour Device Tree's request to disable a child-device
-
-From: Lee Jones <lee.jones@linaro.org>
-
-[ Upstream commit 6b5c350648b857047b47acf74a57087ad27d6183 ]
-
-Until now, MFD has assumed all child devices passed to it (via
-mfd_cells) are to be registered. It does not take into account
-requests from Device Tree and the like to disable child devices
-on a per-platform basis.
-
-Well now it does.
-
-Link: https://www.spinics.net/lists/arm-kernel/msg366309.html
-Link: https://lkml.org/lkml/2019/8/22/1350
-
-Reported-by: Barry Song <Baohua.Song@csr.com>
-Reported-by: Stephan Gerhold <stephan@gerhold.net>
-Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
-Reviewed-by: Mark Brown <broonie@kernel.org>
-Tested-by: Stephan Gerhold <stephan@gerhold.net>
-Signed-off-by: Lee Jones <lee.jones@linaro.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/mfd/mfd-core.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
-index 5c8ed2150c8b..fae7bfe7a21a 100644
---- a/drivers/mfd/mfd-core.c
-+++ b/drivers/mfd/mfd-core.c
-@@ -178,6 +178,11 @@ static int mfd_add_device(struct device *parent, int id,
- if (parent->of_node && cell->of_compatible) {
- for_each_child_of_node(parent->of_node, np) {
- if (of_device_is_compatible(np, cell->of_compatible)) {
-+ if (!of_device_is_available(np)) {
-+ /* Ignore disabled devices error free */
-+ ret = 0;
-+ goto fail_alias;
-+ }
- pdev->dev.of_node = np;
- pdev->dev.fwnode = &np->fwnode;
- break;
---
-2.20.1
-
clk-qcom-allow-constant-ratio-freq-tables-for-rcg.patch
irqchip-irq-bcm7038-l1-enable-parent-irq-if-necessar.patch
irqchip-ingenic-error-out-if-irq-domain-creation-fai.patch
-mfd-mfd-core-honour-device-tree-s-request-to-disable.patch
fs-quota-handle-overflows-of-sysctl-fs.quota.-and-re.patch
scsi-lpfc-fix-coverity-lpfc_cmpl_els_rsp-null-pointe.patch
scsi-ufs-fix-potential-bug-which-ends-in-system-hang.patch
+++ /dev/null
-From 6c7fff1ca4605404f5edfd8860b6891885883931 Mon Sep 17 00:00:00 2001
-From: Sasha Levin <sashal@kernel.org>
-Date: Thu, 7 Nov 2019 11:19:50 +0000
-Subject: mfd: mfd-core: Honour Device Tree's request to disable a child-device
-
-From: Lee Jones <lee.jones@linaro.org>
-
-[ Upstream commit 6b5c350648b857047b47acf74a57087ad27d6183 ]
-
-Until now, MFD has assumed all child devices passed to it (via
-mfd_cells) are to be registered. It does not take into account
-requests from Device Tree and the like to disable child devices
-on a per-platform basis.
-
-Well now it does.
-
-Link: https://www.spinics.net/lists/arm-kernel/msg366309.html
-Link: https://lkml.org/lkml/2019/8/22/1350
-
-Reported-by: Barry Song <Baohua.Song@csr.com>
-Reported-by: Stephan Gerhold <stephan@gerhold.net>
-Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
-Reviewed-by: Mark Brown <broonie@kernel.org>
-Tested-by: Stephan Gerhold <stephan@gerhold.net>
-Signed-off-by: Lee Jones <lee.jones@linaro.org>
-Signed-off-by: Sasha Levin <sashal@kernel.org>
----
- drivers/mfd/mfd-core.c | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/drivers/mfd/mfd-core.c b/drivers/mfd/mfd-core.c
-index 23276a80e3b4..b0afefdc9eac 100644
---- a/drivers/mfd/mfd-core.c
-+++ b/drivers/mfd/mfd-core.c
-@@ -174,6 +174,11 @@ static int mfd_add_device(struct device *parent, int id,
- if (parent->of_node && cell->of_compatible) {
- for_each_child_of_node(parent->of_node, np) {
- if (of_device_is_compatible(np, cell->of_compatible)) {
-+ if (!of_device_is_available(np)) {
-+ /* Ignore disabled devices error free */
-+ ret = 0;
-+ goto fail_alias;
-+ }
- pdev->dev.of_node = np;
- pdev->dev.fwnode = &np->fwnode;
- break;
---
-2.20.1
-
irqchip-irq-bcm7038-l1-enable-parent-irq-if-necessar.patch
irqchip-ingenic-error-out-if-irq-domain-creation-fai.patch
dma-direct-check-for-overflows-on-32-bit-dma-address.patch
-mfd-mfd-core-honour-device-tree-s-request-to-disable.patch
fs-quota-handle-overflows-of-sysctl-fs.quota.-and-re.patch
iommu-arm-smmu-v3-don-t-display-an-error-when-irq-li.patch
i2c-stm32f7-fix-reorder-remove-probe-error-handling.patch