ipc4: copier: fix a typo

In & out are container size and should be compared for
conversion function.

Signed-off-by: Rander Wang <rander.wang@intel.com>
This commit is contained in:
Rander Wang 2021-11-03 14:35:20 +08:00 committed by Liam Girdwood
parent 810838da2e
commit 20d4eadc48
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ static bool use_no_container_convert_function(enum sof_ipc_frame in,
enum sof_ipc_frame valid_out_bits)
{
/* valid sample size is equal to container size, go normal path */
if (in == valid_in_bits && out == valid_out_bits)
if (in == out && valid_in_bits == valid_out_bits)
return true;
/* go normal path for S24_4LE case since container is always 32 bits */