ALSA: cs5535audio: check OLPC's Analog Input status vis GPIO
authorAndres Salomon <dilinger@queued.net>
Thu, 6 Nov 2008 21:49:55 +0000 (16:49 -0500)
committerTakashi Iwai <tiwai@suse.de>
Wed, 10 Dec 2008 16:14:44 +0000 (17:14 +0100)
commit189d34e747e9540b70227f6682bd680868d90b10
tree673073f24ba5846edac81491de088e280453982c
parent466ae3055be8665525a5613456fcb387ffef4cb7
ALSA: cs5535audio: check OLPC's Analog Input status vis GPIO

Checking the HPF register is irrelevant; HPF is secondary to the AI mode.
Instead, check for Analog Input mode via GPIO.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs5535audio/cs5535audio_olpc.c