summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c
index 046401a6..7cf161e0 100644
--- a/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c
+++ b/drivers/gpu/nvgpu/common/linux/vgpu/vgpu.c
@@ -685,29 +685,29 @@ int vgpu_probe(struct platform_device *pdev)
685 err = platform->probe(dev); 685 err = platform->probe(dev);
686 if (err) { 686 if (err) {
687 if (err == -EPROBE_DEFER) 687 if (err == -EPROBE_DEFER)
688 dev_info(dev, "platform probe failed"); 688 nvgpu_info(gk20a, "platform probe failed");
689 else 689 else
690 dev_err(dev, "platform probe failed"); 690 nvgpu_err(gk20a, "platform probe failed");
691 return err; 691 return err;
692 } 692 }
693 693
694 if (platform->late_probe) { 694 if (platform->late_probe) {
695 err = platform->late_probe(dev); 695 err = platform->late_probe(dev);
696 if (err) { 696 if (err) {
697 dev_err(dev, "late probe failed"); 697 nvgpu_err(gk20a, "late probe failed");
698 return err; 698 return err;
699 } 699 }
700 } 700 }
701 701
702 err = vgpu_comm_init(gk20a); 702 err = vgpu_comm_init(gk20a);
703 if (err) { 703 if (err) {
704 dev_err(dev, "failed to init comm interface\n"); 704 nvgpu_err(gk20a, "failed to init comm interface");
705 return -ENOSYS; 705 return -ENOSYS;
706 } 706 }
707 707
708 priv->virt_handle = vgpu_connect(); 708 priv->virt_handle = vgpu_connect();
709 if (!priv->virt_handle) { 709 if (!priv->virt_handle) {
710 dev_err(dev, "failed to connect to server node\n"); 710 nvgpu_err(gk20a, "failed to connect to server node");
711 vgpu_comm_deinit(); 711 vgpu_comm_deinit();
712 return -ENOSYS; 712 return -ENOSYS;
713 } 713 }
@@ -720,7 +720,7 @@ int vgpu_probe(struct platform_device *pdev)
720 720
721 err = vgpu_pm_init(dev); 721 err = vgpu_pm_init(dev);
722 if (err) { 722 if (err) {
723 dev_err(dev, "pm init failed"); 723 nvgpu_err(gk20a, "pm init failed");
724 return err; 724 return err;
725 } 725 }
726 726