]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: hdac_hdmi: Limit sampling rates at dai creation
authorYong Zhi <yong.zhi@intel.com>
Tue, 7 Aug 2018 17:19:16 +0000 (12:19 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 7 Sep 2018 12:03:05 +0000 (13:03 +0100)
commitefcb1b4808c087f12a5eefbc5a82bb6fe413ed2d
tree8031f6b7018d109d330c197dc050de306c971a24
parent9dc490a00946fc79c2b1cc8f9b390476a4561be7
ASoC: Intel: hdac_hdmi: Limit sampling rates at dai creation

Playback of 44.1Khz contents with HDMI plugged returns
"Invalid pipe config" because HDMI paths in the FW
topology are configured to operate at 48Khz.

This patch filters out sampling rates not supported
at hdac_hdmi_create_dais() to let user space SRC
to do the converting.

Signed-off-by: Yong Zhi <yong.zhi@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdac_hdmi.c