ALSA: snd-aoa: handle older machines
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 15 Jan 2009 17:21:48 +0000 (18:21 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 15 Jan 2009 17:28:12 +0000 (18:28 +0100)
commit45e513b689b8b0a01ec2b01cc21816e4780d7ea6
tree1c1b4657bf2065b076f08b98ff817e4a629a9c81
parent37a76bd4f1b716949fc38a6842e89f0ccb8384d0
ALSA: snd-aoa: handle older machines

This patch changes snd-aoa to handle some older machines that are
currently handled by snd-powermac. snd-aoa has a number of advantages
though, notably it can autoload better and is generally a more modern
driver.

By hardcoding the accepted device-ids (last hunk of the patch) I'm
trying to avoid regressions because this driver will otherwise load
automatically and not let snd-powermac load. People who are unhappy
with snd-powermac and have a device-id property in the device tree
are encouraged to read this patch and make a patch to amend this as
appropriate.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/fabrics/layout.c
sound/aoa/soundbus/i2sbus/core.c