]> git.alsa-project.org Git - alsa-lib.git/commit
ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()
authorKirill Marinushkin <k.marinushkin@gmail.com>
Mon, 16 Apr 2018 18:26:38 +0000 (20:26 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 20 Apr 2018 07:27:11 +0000 (09:27 +0200)
commit3778a30bb0095c7d3275735718f33058e3c198d5
treed5093c09cdf764938d0c1ca918fa6b1b2c2eff21
parent17bc74d3a25f0d4b1ca25d2d92fcad9c2a9d7f79
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.
This commit goes in pair with the corresponding patch for linux.

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: Takashi Iwai <tiwai@suse.de>
include/sound/asoc.h
include/topology.h
src/conf/topology/broadwell/broadwell.conf
src/topology/pcm.c