mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-11-29 14:41:26 +01: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
@ -2526,10 +2526,7 @@ int brcmnand_probe(struct udevice *dev, struct brcmnand_soc *soc)
|
|||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
} else {
|
} else {
|
||||||
ret = PTR_ERR(ctrl->clk);
|
/* Ignore PTR_ERR(ctrl->clk) */
|
||||||
if (ret == -EPROBE_DEFER)
|
|
||||||
return ret;
|
|
||||||
|
|
||||||
ctrl->clk = NULL;
|
ctrl->clk = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user