From c19e1bde422d16778fffab84c0f676aadf462c7a Mon Sep 17 00:00:00 2001 From: Pierre-Louis Bossart Date: Mon, 10 Oct 2022 15:18:39 -0500 Subject: [PATCH] topology: nhlt: intel: ssp: fix obvious typo for 'codec_provider' Looks like a bad search and replace? Signed-off-by: Pierre-Louis Bossart --- topology/nhlt/intel/ssp/ssp-process.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/topology/nhlt/intel/ssp/ssp-process.c b/topology/nhlt/intel/ssp/ssp-process.c index 2540a473a..ead533ec3 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;