]> err.no Git - linux-2.6/commitdiff
V4L/DVB (6687): saa7134: add mute support for radio/analog-in on MD9717 and MD7134
authorHermann Pitton <hermann-pitton@arcor.de>
Thu, 29 Nov 2007 00:54:35 +0000 (21:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:03:01 +0000 (19:03 -0200)
Currently the saa7134 chips only have mute support for the TV input.

Cards with mute from external audio muxes are already fine on the
other inputs and some recent tuners mute at least the radio on exit.
But these mostly hybrid tuners are not fully backward compatible, since
they must power down and mute regardless.

For some included above, the MD7134 knows several, to switch on mute/automute
to the TV input is functional and backward compatible for the applications,
except that the tuners with tda9887 always mute on exit.

Signed-off-by: Hermann Pitton <hermann-pitton@arcor.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/saa7134/saa7134-cards.c

index 533fb02394fb592a85f23e7463fa3def54cd2800..9a2dd643025bc49b88d2974a9f6eec29abcd4721 100644 (file)
@@ -350,6 +350,10 @@ struct saa7134_board saa7134_boards[] = {
                        .name = name_radio,
                        .amux = LINE2,
                },
+              .mute = {
+                      .name = name_mute,
+                      .amux = TV,
+              },
        },
        [SAA7134_BOARD_TVSTATION_RDS] = {
                /* Typhoon TV Tuner RDS: Art.Nr. 50694 */
@@ -566,6 +570,10 @@ struct saa7134_board saa7134_boards[] = {
                .radio = {
                        .name   = name_radio,
                        .amux   = LINE2,
+              },
+              .mute = {
+                      .name = name_mute,
+                      .amux = TV,
                },
        },
        [SAA7134_BOARD_TYPHOON_90031] = {