[ALSA] snd-aoa: enable dual-edge in GPIOs
authorJohannes Berg <johannes@sipsolutions.net>
Wed, 28 Jun 2006 12:00:58 +0000 (14:00 +0200)
committerJaroslav Kysela <perex@suse.cz>
Wed, 28 Jun 2006 17:31:35 +0000 (19:31 +0200)
commitbd66f3bbc369191279d18c21f305341c8bc9cafe
treef429ea96daa3e120e547af01dda5b18534b0ea6d
parentc6feefd03ed12d89af591345fb9c26de7098764d
[ALSA] snd-aoa: enable dual-edge in GPIOs

Apparently some firmware versions forget enabling the dual-edge bit,
snd-powermac did that too and even OSX does sometimes. This should fix
headphone plug detection on those machines.

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/core/snd-aoa-gpio-feature.c