diff options
author | Takashi Iwai <tiwai@suse.de> | 2008-11-25 05:42:54 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-25 05:42:54 -0500 |
commit | 82894b6f6f109722070d4d78730fe50cdaba9443 (patch) | |
tree | fa7b4a8cd0ffc181baedfbd15f74acc2c7ef8156 | |
parent | ef1681d82f4bc2d9e023519f0bedb86519d10c43 (diff) |
ALSA: hda - Fix proc pcm rate bits
Show only the relevant bits in the PCM rate bits as in the earlier version.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/hda_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c index e7f91c44e631..a2eba4f17e9c 100644 --- 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) | |||
103 | { | 103 | { |
104 | char buf[SND_PRINT_BITS_ADVISED_BUFSIZE]; | 104 | char buf[SND_PRINT_BITS_ADVISED_BUFSIZE]; |
105 | 105 | ||
106 | snd_iprintf(buffer, " bits [0x%x]:", pcm); | 106 | snd_iprintf(buffer, " bits [0x%x]:", (pcm & AC_SUPPCM_RATES) >> 16); |
107 | snd_print_pcm_bits(pcm, buf, sizeof(buf)); | 107 | snd_print_pcm_bits(pcm, buf, sizeof(buf)); |
108 | snd_iprintf(buffer, "%s\n", buf); | 108 | snd_iprintf(buffer, "%s\n", buf); |
109 | } | 109 | } |