]> git.hungrycats.org Git - linux/commitdiff
[PATCH] dvb: cleanup firmware loading printks
authorJohannes Stezenbach <js@linuxtv.org>
Wed, 2 Feb 2005 00:52:40 +0000 (16:52 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 2 Feb 2005 00:52:40 +0000 (16:52 -0800)
- frontends: sp887x: improve confusing firmware loading messages

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/media/dvb/frontends/sp8870.c
drivers/media/dvb/frontends/sp887x.c

index 4a8178d564585688897795d123f89330b89e9fc9..72338d461ba5b3057958204392f531aed0d8c7b9 100644 (file)
@@ -313,7 +313,7 @@ static int sp8870_init (struct dvb_frontend* fe)
 
 
        /* request the firmware, this will block until someone uploads it */
-       printk("sp8870: waiting for firmware upload...\n");
+       printk("sp8870: waiting for firmware upload (%s)...\n", SP8870_DEFAULT_FIRMWARE);
        if (state->config->request_firmware(fe, &fw, SP8870_DEFAULT_FIRMWARE)) {
                printk("sp8870: no firmware upload (timeout or file not found?)\n");
                release_firmware(fw);
@@ -325,6 +325,7 @@ static int sp8870_init (struct dvb_frontend* fe)
                release_firmware(fw);
                return -EIO;
        }
+       printk("sp8870: firmware upload complete\n");
 
        /* enable TS output and interface pins */
        sp8870_writereg(state, 0xc18, 0x00d);
index ac2c86db472cde5d41a3b6e3f55dc8a0e368a94e..40ae6459251e29e0c56d708d6ec351573de1fda0 100644 (file)
@@ -518,7 +518,7 @@ static int sp887x_init(struct dvb_frontend* fe)
 
        if (!state->initialised) {
        /* request the firmware, this will block until someone uploads it */
-       printk("sp887x: waiting for firmware upload...\n");
+               printk("sp887x: waiting for firmware upload (%s)...\n", SP887X_DEFAULT_FIRMWARE);
                ret = state->config->request_firmware(fe, &fw, SP887X_DEFAULT_FIRMWARE);
        if (ret) {
                printk("sp887x: no firmware upload (timeout or file not found?)\n");
@@ -531,6 +531,7 @@ static int sp887x_init(struct dvb_frontend* fe)
                        release_firmware(fw);
                        return ret;
        }
+               printk("sp887x: firmware upload complete\n");
                state->initialised = 1;
        }