projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae8cb4c
)
ALSA: hda - Show missing GPIO unsol bits
author
Takashi Iwai
<tiwai@suse.de>
Wed, 19 Nov 2008 13:14:50 +0000
(14:14 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 19 Nov 2008 13:14:50 +0000
(14:14 +0100)
The GPIO unsolicited event bits are read but not shown in the proc file.
Let's fix it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_proc.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_proc.c
b/sound/pci/hda/hda_proc.c
index d956e97691335030cd7586e21c034b2132c1c6b9..31b49bdc58f539f9ada449fad437e5e9cfd72970 100644
(file)
--- a/
sound/pci/hda/hda_proc.c
+++ b/
sound/pci/hda/hda_proc.c
@@
-485,12
+485,13
@@
static void print_gpio(struct snd_info_buffer *buffer,
for (i = 0; i < max; ++i)
snd_iprintf(buffer,
" IO[%d]: enable=%d, dir=%d, wake=%d, "
- "sticky=%d, data=%d\n", i,
+ "sticky=%d, data=%d
, unsol=%d
\n", i,
(enable & (1<<i)) ? 1 : 0,
(direction & (1<<i)) ? 1 : 0,
(wake & (1<<i)) ? 1 : 0,
(sticky & (1<<i)) ? 1 : 0,
- (data & (1<<i)) ? 1 : 0);
+ (data & (1<<i)) ? 1 : 0,
+ (unsol & (1<<i)) ? 1 : 0);
/* FIXME: add GPO and GPI pin information */
}
This page took
0.025513 seconds
and
5
git commands to generate.