summaryrefslogtreecommitdiff
path: root/drivers/soc/tegra/fuse
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-06-04 18:38:38 +0300
committerThierry Reding <treding@nvidia.com>2019-06-05 10:54:13 +0300
commitf0b2835f05c3ff05816b5717b9a920d82954938a (patch)
treed39158d9c99c79caecfb3b786fa2d16c68665d7e /drivers/soc/tegra/fuse
parent34abf69732c7c3a79ae286da0c14a716ec45720d (diff)
downloadlinux-f0b2835f05c3ff05816b5717b9a920d82954938a.tar.xz
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>
Diffstat (limited to 'drivers/soc/tegra/fuse')
-rw-r--r--drivers/soc/tegra/fuse/fuse-tegra.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/soc/tegra/fuse/fuse-tegra.c b/drivers/soc/tegra/fuse/fuse-tegra.c
index 51625703399e..e075cad57cff 100644
--- a/drivers/soc/tegra/fuse/fuse-tegra.c
+++ b/drivers/soc/tegra/fuse/fuse-tegra.c
@@ -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)) {
- dev_err(&pdev->dev, "failed to get FUSE clock: %ld",
- PTR_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);
}