V4L/DVB (3502): Saa7134: make unsupported secondary decoder message generic
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 14 Mar 2006 19:07:42 +0000 (16:07 -0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 21 Mar 2006 16:53:30 +0000 (08:53 -0800)
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>
drivers/media/video/saa7134/saa7134-cards.c

index f9a29c415c73f558125ce4944dc73d228c61b2e6..5e0251a33e8bdef1b3eba9c7661e8b3602230151 100644 (file)
@@ -3471,10 +3471,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;