mirror of https://gitee.com/openkylin/linux.git
soc/tegra: fuse: Do not log error message on deferred probe
Recent changes have made it much more probable that clocks are not available yet when the FUSE driver is first probed. However, that is a situation that the driver can cope with just fine. To avoid confusion, don't output an error when this happens. Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
34abf69732
commit
f0b2835f05
|
@ -145,8 +145,10 @@ static int tegra_fuse_probe(struct platform_device *pdev)
|
|||
|
||||
fuse->clk = devm_clk_get(&pdev->dev, "fuse");
|
||||
if (IS_ERR(fuse->clk)) {
|
||||
if (PTR_ERR(fuse->clk) != -EPROBE_DEFER)
|
||||
dev_err(&pdev->dev, "failed to get FUSE clock: %ld",
|
||||
PTR_ERR(fuse->clk));
|
||||
|
||||
fuse->base = base;
|
||||
return PTR_ERR(fuse->clk);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue