git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef1681d
)
ALSA: hda - Fix proc pcm rate bits
author
Takashi Iwai
<tiwai@suse.de>
Tue, 25 Nov 2008 10:42:54 +0000
(11:42 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 25 Nov 2008 10:42:54 +0000
(11:42 +0100)
Show only the relevant bits in the PCM rate bits as in the earlier version.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_proc.c
patch
|
blob
|
history
diff --git
a/sound/pci/hda/hda_proc.c
b/sound/pci/hda/hda_proc.c
index
e7f91c4
..
a2eba4f
100644
(file)
--- a/
sound/pci/hda/hda_proc.c
+++ b/
sound/pci/hda/hda_proc.c
@@
-103,7
+103,7
@@
static void print_pcm_bits(struct snd_info_buffer *buffer, unsigned int pcm)
{
char buf[SND_PRINT_BITS_ADVISED_BUFSIZE];
- snd_iprintf(buffer, " bits [0x%x]:",
pcm
);
+ snd_iprintf(buffer, " bits [0x%x]:",
(pcm & AC_SUPPCM_RATES) >> 16
);
snd_print_pcm_bits(pcm, buf, sizeof(buf));
snd_iprintf(buffer, "%s\n", buf);
}