]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: KMB: Fix random noise at the HDMI output
authorSia Jee Heng <jee.heng.sia@intel.com>
Wed, 21 Apr 2021 00:55:46 +0000 (08:55 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 21 Apr 2021 14:49:49 +0000 (15:49 +0100)
commit2721310d7cd8ef46fdacd3fa39ad6d086a4d90c7
treef143d511e43efae30c4e959fcd0505ae4634abeb
parent3504c96973d7e234a9176a237845b6565e7e696b
ASoC: Intel: KMB: Fix random noise at the HDMI output

Random noise could be heard when playing audio to the HDMI output.
This is due to the IEC conversion is invoked in the external loop.
As a result, this additional loop takes up a lot of the processing
cycle.

hdmi_reformat_iec958() process the conversion using an internal loop,
it is safe to move it out from the external loop to avoid unnecessary
processing cycle been spent. Furthermore, ALSA IEC958 plugin works in
32bit format only.

Signed-off-by: Sia Jee Heng <jee.heng.sia@intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210421005546.7534-1-jee.heng.sia@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/keembay/kmb_platform.c