Browse Source

V4L/DVB (3502): Saa7134: make unsupported secondary decoder message generic

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>
Michael Krufky 19 years ago
parent
commit
12a219da0a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      drivers/media/video/saa7134/saa7134-cards.c

+ 2 - 2
drivers/media/video/saa7134/saa7134-cards.c

@@ -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;