diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-10-10 15:18:39 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2023-01-23 18:54:22 +0100 |
commit | f67b3ed002fc4327ece6e7533cae038539e80e36 (patch) | |
tree | 36ae11e03c517e91188be9a2622264253f25fddb | |
parent | b758df542cbd6f2c6fab846b224fae70987d8495 (diff) | |
download | alsa-utils-f67b3ed002fc4327ece6e7533cae038539e80e36.tar.gz |
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 <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | topology/nhlt/intel/ssp/ssp-process.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |