ChangeSet 1.2231.1.194, 2005/03/28 20:10:18-08:00, [EMAIL PROTECTED]

        [PATCH] dvb: clarify firmware upload messages
        
        clarify firmware upload messages
        
        Signed-off-by: Johannes Stezenbach <[EMAIL PROTECTED]>
        Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
        Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>



 nxt2002.c  |    3 ++-
 tda1004x.c |    6 ++++--
 2 files changed, 6 insertions(+), 3 deletions(-)


diff -Nru a/drivers/media/dvb/frontends/nxt2002.c 
b/drivers/media/dvb/frontends/nxt2002.c
--- a/drivers/media/dvb/frontends/nxt2002.c     2005-03-28 21:49:24 -08:00
+++ b/drivers/media/dvb/frontends/nxt2002.c     2005-03-28 21:49:24 -08:00
@@ -520,7 +520,7 @@
 
        if (!state->initialised) {
                /* request the firmware, this will block until someone uploads 
it */
-               printk("nxt2002: Waiting for firmware upload...\n");
+               printk("nxt2002: Waiting for firmware upload (%s)...\n", 
NXT2002_DEFAULT_FIRMWARE);
                ret = state->config->request_firmware(fe, &fw, 
NXT2002_DEFAULT_FIRMWARE);
                printk("nxt2002: Waiting for firmware upload(2)...\n");
                if (ret) {
@@ -534,6 +534,7 @@
                        release_firmware(fw);
                        return ret;
                }
+               printk("nxt2002: firmware upload complete\n");
 
                /* Put the micro into reset */
                nxt2002_microcontroller_stop(state);
diff -Nru a/drivers/media/dvb/frontends/tda1004x.c 
b/drivers/media/dvb/frontends/tda1004x.c
--- a/drivers/media/dvb/frontends/tda1004x.c    2005-03-28 21:49:24 -08:00
+++ b/drivers/media/dvb/frontends/tda1004x.c    2005-03-28 21:49:24 -08:00
@@ -353,7 +353,7 @@
        if (tda1004x_check_upload_ok(state, 0x2c) == 0) return 0;
 
        /* request the firmware, this will block until someone uploads it */
-       printk("tda1004x: waiting for firmware upload...\n");
+       printk("tda1004x: waiting for firmware upload (%s)...\n", 
TDA10045_DEFAULT_FIRMWARE);
        ret = state->config->request_firmware(fe, &fw, 
TDA10045_DEFAULT_FIRMWARE);
        if (ret) {
                printk("tda1004x: no firmware upload (timeout or file not 
found?)\n");
@@ -372,6 +372,7 @@
        ret = tda1004x_do_upload(state, fw->data, fw->size, TDA10045H_FWPAGE, 
TDA10045H_CODE_IN);
        if (ret)
                return ret;
+       printk("tda1004x: firmware upload complete\n");
 
        /* wait for DSP to initialise */
        /* DSPREADY doesn't seem to work on the TDA10045H */
@@ -396,7 +397,7 @@
        if (tda1004x_check_upload_ok(state, 0x20) == 0) return 0;
 
        /* request the firmware, this will block until someone uploads it */
-       printk("tda1004x: waiting for firmware upload...\n");
+       printk("tda1004x: waiting for firmware upload (%s)...\n", 
TDA10046_DEFAULT_FIRMWARE);
        ret = state->config->request_firmware(fe, &fw, 
TDA10046_DEFAULT_FIRMWARE);
        if (ret) {
                printk("tda1004x: no firmware upload (timeout or file not 
found?)\n");
@@ -414,6 +415,7 @@
        ret = tda1004x_do_upload(state, fw->data, fw->size, TDA10046H_CODE_CPT, 
TDA10046H_CODE_IN);
        if (ret)
                return ret;
+       printk("tda1004x: firmware upload complete\n");
 
        /* wait for DSP to initialise */
        timeout = jiffies + HZ;
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to