]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()
authorKirill Marinushkin <k.marinushkin@gmail.com>
Wed, 4 Apr 2018 04:19:37 +0000 (06:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 16 Apr 2018 16:52:16 +0000 (17:52 +0100)
commit544491bf3f44787e7f9b4eefed04d154e97a0807
treea2bb2fc79d79740ae32ffd8b8c11fc696139d1e1
parenteeec13b61d98924ee6c08c106c413651b4aecb6e
ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()

The values of bclk and fsync are inverted WRT the codec. But the existing
solution already works for Broadwell, see the alsa-lib config:

`alsa-lib/src/conf/topology/broadwell/broadwell.conf`

This commit provides the backwards-compatible solution to fix this misuse.

Signed-off-by: Kirill Marinushkin <k.marinushkin@gmail.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tested-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Tested-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Mark Brown <broonie@kernel.org>
Cc: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Cc: linux-kernel@vger.kernel.org
Cc: alsa-devel@alsa-project.org
Signed-off-by: Mark Brown <broonie@kernel.org>
include/uapi/sound/asoc.h
sound/soc/soc-topology.c