On 2/27/18 12:33 PM, Kirill Marinushkin wrote:
Hello Mark, Pierre-Louis, Pan, Liam, As there are too much open questions regarding the bclk and fsync inversion in set_link_hw_format(), I would like to suggest the alternative solution. This solution will fit both use-cases: * existing use-cases (Broadwell, etc.) * new use-cases (Sound Open Firmware, etc.) The solution includes 1 patch for linux + 1 patch for alsa-lib. I will send them to this mailing thread.
That looks acceptable to me, Xiuli can you test with with the matching change in the SOF topology macros (we can keep the 'slave' in M4 files but expand to 'codec_slave' in the .conf to avoid making this exception visible).
Signed-off-by: Kirill Marinushkin <k.marinushkin@xxxxxxxxx> Cc: Mark Brown <broonie@xxxxxxxxxx> Cc: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx> Cc: Pan Xiuli <xiuli.pan@xxxxxxxxxxxxxxx> Cc: Liam Girdwood <liam.r.girdwood@xxxxxxxxxxxxxxx> Cc: linux-kernel@xxxxxxxxxxxxxxx Cc: alsa-devel@xxxxxxxxxxxxxxxx Kirill Marinushkin (1): ASoC: topology: Fix bclk and fsync inversion in set_link_hw_format() include/uapi/sound/asoc.h | 16 ++++++++++++++-- sound/soc/soc-topology.c | 12 +++++++----- 2 files changed, 21 insertions(+), 7 deletions(-)
_______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel