projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e96777b
)
nand: brcmnand: Don't use -EPROBE_DEFER
author
Simon Glass
<sjg@chromium.org>
Sun, 24 Jan 2021 21:32:41 +0000
(14:32 -0700)
committer
Simon Glass
<sjg@chromium.org>
Wed, 3 Feb 2021 10:38:41 +0000
(
03:38
-0700)
This has no useful meaning in U-Boot and will never be returned. We want
to reserve this flag for internal driver model use.
Drop the code.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/mtd/nand/raw/brcmnand/brcmnand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/raw/brcmnand/brcmnand.c
b/drivers/mtd/nand/raw/brcmnand/brcmnand.c
index 7349a9bc99e9d0c522fe36160a1f1949c769e275..99a1c2e6e2e8b39d8c100c526ee1d718014b7f2e 100644
(file)
--- a/
drivers/mtd/nand/raw/brcmnand/brcmnand.c
+++ b/
drivers/mtd/nand/raw/brcmnand/brcmnand.c
@@
-2526,10
+2526,7
@@
int brcmnand_probe(struct udevice *dev, struct brcmnand_soc *soc)
if (ret)
return ret;
} else {
- ret = PTR_ERR(ctrl->clk);
- if (ret == -EPROBE_DEFER)
- return ret;
-
+ /* Ignore PTR_ERR(ctrl->clk) */
ctrl->clk = NULL;
}