V4L/DVB (9669): em28xx: Fix a stupid cut-and-paste error
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 20 Nov 2008 15:10:44 +0000 (12:10 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:36 +0000 (17:53 -0200)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-core.c

index 9de0f50..2842ddf 100644 (file)
@@ -328,7 +328,7 @@ static int set_ac97_input(struct em28xx *dev)
           em28xx should point to LINE IN, while AC97 should use VIDEO
         */
        if (amux == EM28XX_AMUX_VIDEO2)
-               amux = dev->ctl_ainput;
+               amux = EM28XX_AMUX_VIDEO;
 
        /* Mute all entres but the one that were selected */
        for (i = 0; i < ARRAY_SIZE(inputs); i++) {