]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
V4L/DVB: Saa7134: make unsupported secondary decoder message generic
authorMichael Krufky <mkrufky@linuxtv.org>
Sat, 16 Sep 2006 21:35:11 +0000 (23:35 +0200)
committerAdrian Bunk <bunk@stusta.de>
Sat, 16 Sep 2006 21:35:11 +0000 (23:35 +0200)
There are already some supported devices that contain two
saa713x chips on-board, where only one of these chips is
currently functional in the driver.
We are already printing a warning message for the second
saa7134 decoder in SAA7134_BOARD_AVERMEDIA_A169_B. This
patch alters that case to make it generic, so that other
cards in the same situation can use it.

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/media/video/saa7134/saa7134-cards.c

index f8a4e050a5588b2af14046a217ef6c80a2aec1de..8ea1501f5d532933b774142989b5c893e123d37e 100644 (file)
@@ -3469,10 +3469,10 @@ int saa7134_board_init1(struct saa7134_dev *dev)
                dev->has_remote = SAA7134_REMOTE_I2C;
                break;
        case SAA7134_BOARD_AVERMEDIA_A169_B:
-               printk("%s: AVerMedia A169: dual saa7134 broadcast decoders\n"
+               printk("%s: %s: dual saa713x broadcast decoders\n"
                       "%s: Sorry, none of the inputs to this chip are supported yet.\n"
                       "%s: Dual decoder functionality is disabled for now, use the other chip.\n",
-                      dev->name,dev->name,dev->name);
+                      dev->name,card(dev).name,dev->name,dev->name);
                break;
        }
        return 0;