]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 26 Nov 2019 12:16:31 +0000 (13:16 +0100)
commit17ea7c3b902a6b90fa359dbf22aea84e43fada86
treebb16262706ee621db6dccb5867084545643d8a6a
parent8349f179fd27fae6edd88f81135d85c25c3fdfc5
ASoC: Intel: hdac_hdmi: Limit sampling rates at dai creation

BugLink: https://bugs.launchpad.net/bugs/1853915
[ Upstream commit 3b857472f34faa7d11001afa5e158833812c98d7 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/soc/codecs/hdac_hdmi.c