Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 82894b6f authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent ef1681d8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}