Skip to content

Commit f0b2835

Browse files
committed
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 <[email protected]>
1 parent 34abf69 commit f0b2835

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

drivers/soc/tegra/fuse/fuse-tegra.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,10 @@ static int tegra_fuse_probe(struct platform_device *pdev)
145145

146146
fuse->clk = devm_clk_get(&pdev->dev, "fuse");
147147
if (IS_ERR(fuse->clk)) {
148-
dev_err(&pdev->dev, "failed to get FUSE clock: %ld",
149-
PTR_ERR(fuse->clk));
148+
if (PTR_ERR(fuse->clk) != -EPROBE_DEFER)
149+
dev_err(&pdev->dev, "failed to get FUSE clock: %ld",
150+
PTR_ERR(fuse->clk));
151+
150152
fuse->base = base;
151153
return PTR_ERR(fuse->clk);
152154
}

0 commit comments

Comments
 (0)