diff options
author | Debarshi Dutta <ddutta@nvidia.com> | 2017-05-31 02:01:59 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-19 07:35:30 -0400 |
commit | b454c9c129d20ba94f2841c555310754cbd53d00 (patch) | |
tree | 512d8c1a5d7185429f0458cd64c2688d4d26e16c /drivers/gpu/nvgpu/vgpu | |
parent | 87575d25fb5328b895e11e03a9856363f2e8b5f7 (diff) |
gpu: nvgpu: changed log level for defer_probe
If platform probe fails as a result of DEFER_PROBE, it should be
reported as dev_info instead of dev_err.
Bug 1926777
Change-Id: Iba4392abdd6089da9678695b8ee7f2c92bea1505
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: http://git-master/r/1492711
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 | ||