From: Johannes Berg Date: Wed, 28 Jun 2006 11:59:50 +0000 (+0200) Subject: [ALSA] snd-aoa: support iMac G5 iSight X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c6feefd03ed12d89af591345fb9c26de7098764d;p=linux-beck.git [ALSA] snd-aoa: support iMac G5 iSight This properly adds support for the iMac G5 iSight. Signed-off-by: Johannes Berg Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/aoa/fabrics/snd-aoa-fabric-layout.c b/sound/aoa/fabrics/snd-aoa-fabric-layout.c index 04a7238e9494..cbc8a3b5cea4 100644 --- a/sound/aoa/fabrics/snd-aoa-fabric-layout.c +++ b/sound/aoa/fabrics/snd-aoa-fabric-layout.c @@ -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",