]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 1 Mar 2019 13:20:53 +0000 (14:20 +0100)
commit845d04dee4f3012d47da5c6351725e570bbeb128
tree0b48c04b5abcd8ccad0d4c51122e0c7fdd5ca694
parent88452b814a4db9a835d296420a54b4c198a95fcf
ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format()

BugLink: http://bugs.launchpad.net/bugs/1815234
[ Upstream commit a941e2fab3207cb0d57dc4ec47b1b12c8ea78b84 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
include/uapi/sound/asoc.h
sound/soc/soc-topology.c