projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
kernel: backport brcmnand support for "brcm,wp-not-connected"
[openwrt/openwrt.git]
/
target
/
linux
/
bcm47xx
/
patches-5.15
/
106-v5.18-mtd-rawnand-brcmnand-Allow-platform-data-instantation.patch
diff --git
a/target/linux/bcm47xx/patches-5.15/106-v5.18-mtd-rawnand-brcmnand-Allow-platform-data-instantation.patch
b/target/linux/bcm47xx/patches-5.15/106-v5.18-mtd-rawnand-brcmnand-Allow-platform-data-instantation.patch
index b9ad82ecf96465c6ea4015842940569801a2916f..4942389b5a5ffdcb7d2f0cf3fd41afed4019ca7b 100644
(file)
--- a/
target/linux/bcm47xx/patches-5.15/106-v5.18-mtd-rawnand-brcmnand-Allow-platform-data-instantation.patch
+++ b/
target/linux/bcm47xx/patches-5.15/106-v5.18-mtd-rawnand-brcmnand-Allow-platform-data-instantation.patch
@@
-72,7
+72,7
@@
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
return PTR_ERR(ctrl->nand_base);
/* Enable clock before using NAND registers */
return PTR_ERR(ctrl->nand_base);
/* Enable clock before using NAND registers */
-@@ -321
4,7 +3214
,6 @@ int brcmnand_probe(struct platform_devic
+@@ -321
8,7 +3218
,6 @@ int brcmnand_probe(struct platform_devic
for_each_available_child_of_node(dn, child) {
if (of_device_is_compatible(child, "brcm,nandcs")) {
for_each_available_child_of_node(dn, child) {
if (of_device_is_compatible(child, "brcm,nandcs")) {
@@
-80,7
+80,7
@@
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
host = devm_kzalloc(dev, sizeof(*host), GFP_KERNEL);
if (!host) {
host = devm_kzalloc(dev, sizeof(*host), GFP_KERNEL);
if (!host) {
-@@ -323
4,7 +3233
,7 @@ int brcmnand_probe(struct platform_devic
+@@ -323
8,7 +3237
,7 @@ int brcmnand_probe(struct platform_devic
nand_set_flash_node(&host->chip, child);
nand_set_flash_node(&host->chip, child);
@@
-89,7
+89,7
@@
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
if (ret) {
devm_kfree(dev, host);
continue; /* Try all chip-selects */
if (ret) {
devm_kfree(dev, host);
continue; /* Try all chip-selects */
-@@ -324
4,6 +3243
,32 @@ int brcmnand_probe(struct platform_devic
+@@ -324
8,6 +3247
,32 @@ int brcmnand_probe(struct platform_devic
}
}
}
}