diff options
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/driver_common.c | 5 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/driver_common.c b/drivers/gpu/nvgpu/common/linux/driver_common.c index a00880ed..e5462646 100644 --- a/drivers/gpu/nvgpu/common/linux/driver_common.c +++ b/drivers/gpu/nvgpu/common/linux/driver_common.c | |||
@@ -161,7 +161,10 @@ int nvgpu_probe(struct gk20a *g, | |||
161 | /* Initialize the platform interface. */ | 161 | /* Initialize the platform interface. */ |
162 | err = platform->probe(g->dev); | 162 | err = platform->probe(g->dev); |
163 | if (err) { | 163 | if (err) { |
164 | dev_err(g->dev, "platform probe failed"); | 164 | if (err == -EPROBE_DEFER) |
165 | dev_info(g->dev, "platform probe failed"); | ||
166 | else | ||
167 | dev_err(g->dev, "platform probe failed"); | ||
165 | return err; | 168 | return err; |
166 | } | 169 | } |
167 | 170 | ||
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index a8c28826..2b1c93dd 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -668,7 +668,10 @@ int vgpu_probe(struct platform_device *pdev) | |||
668 | /* Initialize the platform interface. */ | 668 | /* Initialize the platform interface. */ |
669 | err = platform->probe(dev); | 669 | err = platform->probe(dev); |
670 | if (err) { | 670 | if (err) { |
671 | dev_err(dev, "platform probe failed"); | 671 | if (err == -EPROBE_DEFER) |
672 | dev_info(dev, "platform probe failed"); | ||
673 | else | ||
674 | dev_err(dev, "platform probe failed"); | ||
672 | return err; | 675 | return err; |
673 | } | 676 | } |
674 | 677 | ||