mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user