Skip to contentSkip to conversation

ALSA: HDA: Fix dmesg output of HDMI supported bits

PATCH Applied David Henningsson 2 participants 2 messages Jan 25, 2011 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: HDA: Fix dmesg output of HDMI supported bits

This typo caused the dmesg output of the supported bits of HDMI to be cut off early.

Signature · 2 lines
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
Quoted 1 line

From 058ef40d05488d796256e37433afba664aa0a1a4 Mon Sep 17 00:00:00 2001

From: David Henningsson <[email protected]>
Date: Tue, 25 Jan 2011 19:44:26 +0100
Subject: [PATCH] ALSA: HDA: Fix dmesg output of HDMI supported bits

This typo caused the dmesg output of the supported bits of HDMI to be cut off early.

---
 sound/pci/hda/hda_eld.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/pci/hda/hda_eld.c +1 -1
index 4a66347..74b0560 100644
@@ -381,7 +381,7 @@ static void hdmi_show_short_audio_desc(struct cea_sad *a)
 	snd_print_pcm_rates(a->rates, buf, sizeof(buf));
 
 	if (a->format == AUDIO_CODING_TYPE_LPCM)
-		snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2 - 8));
+		snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2) - 8);
 	else if (a->max_bitrate)
 		snprintf(buf2, sizeof(buf2),
 				", max bitrate = %d", a->max_bitrate);
Signature · 1 line
1.7.1

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Applied
#1 lore raw

At Tue, 25 Jan 2011 19:52:16 +0100,

Quoted 6 lines · David Henningsson

This typo caused the dmesg output of the supported bits of HDMI to be cut off early.

Thanks, applied now.

Takashi

Quoted 35 lines
Signature · 4 lines
-- 
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
[2 0001-ALSA-HDA-Fix-dmesg-output-of-HDMI-supported-bits.patch <text/x-patch (7bit)>]
Quoted 1 line

From 058ef40d05488d796256e37433afba664aa0a1a4 Mon Sep 17 00:00:00 2001

From: David Henningsson <[email protected]>
Date: Tue, 25 Jan 2011 19:44:26 +0100
Subject: [PATCH] ALSA: HDA: Fix dmesg output of HDMI supported bits

This typo caused the dmesg output of the supported bits of HDMI to be cut off early.

---
 sound/pci/hda/hda_eld.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/pci/hda/hda_eld.c +1 -1
index 4a66347..74b0560 100644
@@ -381,7 +381,7 @@ static void hdmi_show_short_audio_desc(struct cea_sad *a)
 	snd_print_pcm_rates(a->rates, buf, sizeof(buf));
 
 	if (a->format == AUDIO_CODING_TYPE_LPCM)
-		snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2 - 8));
+		snd_print_pcm_bits(a->sample_bits, buf2 + 8, sizeof(buf2) - 8);
 	else if (a->max_bitrate)
 		snprintf(buf2, sizeof(buf2),
 				", max bitrate = %d", a->max_bitrate);
Signature · 1 line
1.7.1