diff options
author | Wu Fengguang <wfg@linux.intel.com> | 2008-11-21 09:42:59 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2008-11-21 08:27:30 +0100 |
commit | 218b5ffc0d3fa852624e67a1bb2528ca29274d6e (patch) | |
tree | 09902f6f254b812df0891a513d18bbc187dd13ed /sound/pci/hda/hda_eld.c | |
parent | 75a287d9a35a825cb758d2f8d8df93d41f9f8e3e (diff) | |
download | lwn-218b5ffc0d3fa852624e67a1bb2528ca29274d6e.tar.gz lwn-218b5ffc0d3fa852624e67a1bb2528ca29274d6e.zip |
ALSA: hda - properly print ELD sample bits
Fix bugs on printing the ELD sample bits.
Signed-off-by: Wu Fengguang <wfg@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_eld.c')
-rw-r--r-- | sound/pci/hda/hda_eld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_eld.c b/sound/pci/hda/hda_eld.c index e848c30d9bf7..9d3e542d74a5 100644 --- a/sound/pci/hda/hda_eld.c +++ b/sound/pci/hda/hda_eld.c @@ -397,7 +397,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_rates(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); |