projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44b9a9
)
mtd: nand: gpio: Fix ALE gpio configuration
author
Christophe Leroy
<
[email protected]
>
Wed, 6 Dec 2017 17:27:14 +0000
(18:27 +0100)
committer
Richard Weinberger
<
[email protected]
>
Fri, 15 Dec 2017 21:27:54 +0000
(22:27 +0100)
Fixes a copy/paste error in commit
f3d0d8d938b4d
("mtd: nand: gpio:
Convert to use GPIO descriptors") which breaks gpio-nand driver
Fixes: f3d0d8d938b4d ("mtd: nand: gpio: Convert to use GPIO descriptors")
Cc: Linus Walleij <
[email protected]
>
Signed-off-by: Christophe Leroy <
[email protected]
>
Reviewed-by: Richard Weinberger <
[email protected]
>
Acked-by: Boris Brezillon <
[email protected]
>
Reviewed-by: Linus Walleij <
[email protected]
>
Signed-off-by: Richard Weinberger <
[email protected]
>
drivers/mtd/nand/gpio.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/gpio.c
b/drivers/mtd/nand/gpio.c
index 484f7fbc3f7d2d11cd66fc3416e64ab38d47f852..a8bde6665c24f7e20e6103959ceee16c5d3ec5c8 100644
(file)
--- a/
drivers/mtd/nand/gpio.c
+++ b/
drivers/mtd/nand/gpio.c
@@
-253,9
+253,9
@@
static int gpio_nand_probe(struct platform_device *pdev)
goto out_ce;
}
- gpiomtd->
nwp
= devm_gpiod_get(dev, "ale", GPIOD_OUT_LOW);
- if (IS_ERR(gpiomtd->
nwp
)) {
- ret = PTR_ERR(gpiomtd->
nwp
);
+ gpiomtd->
ale
= devm_gpiod_get(dev, "ale", GPIOD_OUT_LOW);
+ if (IS_ERR(gpiomtd->
ale
)) {
+ ret = PTR_ERR(gpiomtd->
ale
);
goto out_ce;
}