diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2013-05-05 21:01:05 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-05-16 01:19:01 -0400 |
commit | 088578617d2aaab05ea96b529f16c9a2f1cfbbee (patch) | |
tree | ed7ad3f122f19a2c87f1bcc4c91aa0c35750c27c /sound/aoa/soundbus | |
parent | 478e858b2fd4d0cbeef039befb7ef25b9c9bdc37 (diff) |
ALSA: snd-aoa: Add a layout entry for PowerBook6,5
Either one or a combination of commits 81e5d86
"Register i2c devices from device-tree" and 3a3dd01
"Improve detection of devices from device-tree" broke sound on
PowerBook6,5 machines.
Fix it by adding an entry to the new driver to match PowerBook6,5
machines.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/soundbus')
-rw-r--r-- | sound/aoa/soundbus/i2sbus/core.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/aoa/soundbus/i2sbus/core.c b/sound/aoa/soundbus/i2sbus/core.c index 010658335881..15e76131b501 100644 --- a/sound/aoa/soundbus/i2sbus/core.c +++ b/sound/aoa/soundbus/i2sbus/core.c | |||
@@ -200,7 +200,8 @@ static int i2sbus_add_dev(struct macio_dev *macio, | |||
200 | * We probably cannot handle all device-id machines, | 200 | * We probably cannot handle all device-id machines, |
201 | * so restrict to those we do handle for now. | 201 | * so restrict to those we do handle for now. |
202 | */ | 202 | */ |
203 | if (id && (*id == 22 || *id == 14 || *id == 35)) { | 203 | if (id && (*id == 22 || *id == 14 || *id == 35 || |
204 | *id == 44)) { | ||
204 | snprintf(dev->sound.modalias, 32, | 205 | snprintf(dev->sound.modalias, 32, |
205 | "aoa-device-id-%d", *id); | 206 | "aoa-device-id-%d", *id); |
206 | ok = 1; | 207 | ok = 1; |