From 3b7bb37553dd35fb0b52d54aa21ea5f5ce9b76b2 Mon Sep 17 00:00:00 2001 From: David Henningsson Date: Tue, 25 Jan 2011 19:44:26 +0100 Subject: [PATCH] --- yaml --- r: 232550 b: refs/heads/master c: d757534ed15387202e322854cd72dc58bbb975de h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/pci/hda/hda_eld.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 63bf8722991d..2010dfd1acbc 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: fd76804f3f5484b35e6a51214c91e916ebba05aa +refs/heads/master: d757534ed15387202e322854cd72dc58bbb975de diff --git a/trunk/sound/pci/hda/hda_eld.c b/trunk/sound/pci/hda/hda_eld.c index 4a663471dadc..74b0560289c0 100644 --- a/trunk/sound/pci/hda/hda_eld.c +++ b/trunk/sound/pci/hda/hda_eld.c @@ -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);