]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - fix printing of high HDMI sample rates
authorAnssi Hannula <anssi.hannula@iki.fi>
Tue, 13 Mar 2012 15:43:02 +0000 (17:43 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Mar 2012 17:27:09 +0000 (18:27 +0100)
commit04978ff2239343d092b8eb9b62a614f40c927ed0
tree8656ae13afd76e2e40c5fbd4020b6ce6dd937bcc
parent1829e4b02622a01f03268d3c65a84ade2b48a53f
ALSA: hda - fix printing of high HDMI sample rates

A previous commit 6c825f79e7 (ALSA: hdmi: fix printout of SAD sampling
rates) fixed the sample rates shown in /proc/asound/cardX/eldY and
kernel log to not be entirely wrong. However, a missing rate from the
array added in the patch causes HDMI rates 88.2 kHz, 96 kHz, 176.4 kHz,
and 192 kHz to be shown as 96 kHz, 176.4 kHz, 192 kHz, and 384 kHz,
respectively.

Fix the reporting by adding the ALSA rate 64 kHz into the conversion
array between 48 kHz and 88.2 kHz.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: stable@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_eld.c