V4L/DVB (11797): xc5000: cleanup firmware loading messages
authorDevin Heitmueller <dheitmueller@kernellabs.com>
Fri, 3 Apr 2009 01:45:17 +0000 (22:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:06 +0000 (18:21 -0300)
Make it a little more obvious in the dmesg output what is going on during
firmware upload.  This is more important for boards like the HVR-950q that
take nearly seven seconds to do the upload.

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/tuners/xc5000.c

index 172be68..efc4312 100644 (file)
@@ -555,7 +555,7 @@ static int xc5000_fwupload(struct dvb_frontend *fe)
                ret = XC_RESULT_RESET_FAILURE;
                goto out;
        } else {
-               printk(KERN_INFO "xc5000: firmware read %Zu bytes.\n",
+               printk(KERN_DEBUG "xc5000: firmware read %Zu bytes.\n",
                       fw->size);
                ret = XC_RESULT_SUCCESS;
        }
@@ -564,8 +564,9 @@ static int xc5000_fwupload(struct dvb_frontend *fe)
                printk(KERN_ERR "xc5000: firmware incorrect size\n");
                ret = XC_RESULT_RESET_FAILURE;
        } else {
-               printk(KERN_INFO "xc5000: firmware upload\n");
+               printk(KERN_INFO "xc5000: firmware uploading...\n");
                ret = xc_load_i2c_sequence(fe,  fw->data);
+               printk(KERN_INFO "xc5000: firmware upload complete...\n");
        }
 
 out: