mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-21 15:12:04 +00:00
nand: brcmnand: Don't use -EPROBE_DEFER
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>
This commit is contained in:
parent
e96777b71e
commit
f724f0af2b
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue