[ALSA] snd-aoa: support iMac G5 iSight
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 28 Jun 2006 11:59:50 +0000 (13:59 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 28 Jun 2006 17:31:31 +0000 (19:31 +0200)
This properly adds support for the iMac G5 iSight.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/aoa/fabrics/snd-aoa-fabric-layout.c

index 04a7238e94946234e65348f09f2bb26e6ba54cca..cbc8a3b5cea4e3d638d936ad72782dba552e0121 100644 (file)
@@ -94,6 +94,7 @@ MODULE_ALIAS("sound-layout-82");
 MODULE_ALIAS("sound-layout-84");
 MODULE_ALIAS("sound-layout-86");
 MODULE_ALIAS("sound-layout-92");
+MODULE_ALIAS("sound-layout-96");
 
 /* onyx with all but microphone connected */
 static struct codec_connection onyx_connections_nomic[] = {
@@ -381,6 +382,13 @@ static struct layout layouts[] = {
                .connections = toonie_connections,
          },
        },
+       {
+         .layout_id = 96,
+         .codecs[0] = {
+               .name = "onyx",
+               .connections = onyx_connections_noheadphones,
+         },
+       },
        /* unknown, untested, but this comes from Apple */
        { .layout_id = 41,
          .codecs[0] = {
@@ -479,12 +487,6 @@ static struct layout layouts[] = {
                .connections = onyx_connections_noheadphones,
          },
        },
-       { .layout_id = 96,
-         .codecs[0] = {
-               .name = "onyx",
-               .connections = onyx_connections_noheadphones,
-         },
-       },
        { .layout_id = 98,
          .codecs[0] = {
                .name = "toonie",