From: Pierre-Louis Bossart Date: Mon, 10 Oct 2022 20:18:39 +0000 (-0500) Subject: topology: nhlt: intel: ssp: fix obvious typo for 'codec_provider' X-Git-Tag: v1.2.9~24 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=f67b3ed002fc4327ece6e7533cae038539e80e36;p=alsa-utils.git topology: nhlt: intel: ssp: fix obvious typo for 'codec_provider' Looks like a bad search and replace? Fixes: https://github.com/alsa-project/alsa-utils/pull/174 Signed-off-by: Pierre-Louis Bossart Signed-off-by: Jaroslav Kysela --- diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c index 2540a47..ead533e 100644 --- a/topology/nhlt/intel/ssp/ssp-process.c +++ b/topology/nhlt/intel/ssp/ssp-process.c @@ -686,15 +686,15 @@ int ssp_hw_set_params(struct intel_nhlt_params *nhlt, const char *format, const } /* clock directions wrt codec */ - if (bclk && !strcmp(bclk, "coded_provider")) { + if (bclk && !strcmp(bclk, "codec_provider")) { /* codec is bclk provider */ - if (fsync && !strcmp(fsync, "coded_provider")) + if (fsync && !strcmp(fsync, "codec_provider")) ssp->ssp_prm[ssp->ssp_count].hw_cfg[hwi].format |= SSP_FMT_CBP_CFP; else ssp->ssp_prm[ssp->ssp_count].hw_cfg[hwi].format |= SSP_FMT_CBP_CFC; } else { /* codec is bclk consumer */ - if (fsync && !strcmp(fsync, "coded_provider")) + if (fsync && !strcmp(fsync, "codec_provider")) ssp->ssp_prm[ssp->ssp_count].hw_cfg[hwi].format |= SSP_FMT_CBC_CFP; else ssp->ssp_prm[ssp->ssp_count].hw_cfg[hwi].format |= SSP_FMT_CBC_CFC;