Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 34a0db92 authored by Devin Heitmueller's avatar Devin Heitmueller Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (11797): xc5000: cleanup firmware loading messages



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: default avatarDevin Heitmueller <dheitmueller@kernellabs.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 81c4dfe7
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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: