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:
eefe93b
)
ALSA: hda - Really fix bits value in proc output
author
Takashi Iwai
<tiwai@suse.de>
Tue, 25 Nov 2008 15:07:01 +0000
(16:07 +0100)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 25 Nov 2008 15:07:01 +0000
(16:07 +0100)
The fix in
82894b6f6f109722070d4d78730fe50cdaba9443
resulted in zero
due to wrong mask and bit shifts. Now fixed really.
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 a2eba4f17e9c9bf965f605ccaba587e1b58c82d1..9a8498456e6cadffc852ea4079bdff55bb600c07 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
& AC_SUPPCM_RATES) >> 16
);
+ snd_iprintf(buffer, " bits [0x%x]:", (pcm
>> 16) & 0xff
);
snd_print_pcm_bits(pcm, buf, sizeof(buf));
snd_iprintf(buffer, "%s\n", buf);
}
This page took
0.025443 seconds
and
5
git commands to generate.