]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ALSA: snd-aoa: handle master-amp if present
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 15 Jan 2009 17:22:31 +0000 (18:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 15 Jan 2009 17:28:37 +0000 (18:28 +0100)
commit5f17e79cdf530b1a6090c65730e5656ac9c19eaa
tree4fd5886309ed84755e5c43096cd039850bef7525
parent45e513b689b8b0a01ec2b01cc21816e4780d7ea6
ALSA: snd-aoa: handle master-amp if present

Some machines have a master amp GPIO that needs to be toggled to
get sound output, in addition to speaker/headphone/line-out amps.
This makes snd-aoa handle it, if present in the device tree, thus
making snd-aoa be able to output sound on PowerMac3,6, which was
previously handled by snd-powermac which also doesn't use the
master amp GPIO.

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