mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 17:06:31 +01:00
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>
This commit is contained in:
parent
b758df542c
commit
f67b3ed002
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue