vga: Make absence of device message as debug print
Pankaj Dabade [Wed, 6 May 2015 11:23:17 +0000 (16:23 +0530)]
This patch converts message of absence of vga device as a
debug print. This message comes when client tries to
access device on PCI which is absent, in this case DSI.

Bug 1481761

Change-Id: I7d83d39735e51bca8c789a86e517c0a040de57e8
Signed-off-by: Pankaj Dabade <pdabade@nvidia.com>
Reviewed-on: http://git-master/r/739571
GVS: Gerrit_Virtual_Submit
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>

drivers/gpu/vga/vgaarb.c

index e893f6e..589d289 100644 (file)
@@ -1099,7 +1099,7 @@ static ssize_t vga_arb_write(struct file *file, const char __user * buf,
                vgadev = vgadev_find(pdev);
                pr_debug("vgaarb: vgadev %p\n", vgadev);
                if (vgadev == NULL) {
-                       pr_err("vgaarb: this pci device is not a vga device\n");
+                       pr_debug("vgaarb: this pci device is not a vga device\n");
                        pci_dev_put(pdev);
                        ret_val = -ENODEV;
                        goto done;