Skip to content

Commit a599fc4

Browse files
committed
ASoC: SOF: ipc4-topology: Propagate change caused by NHLT data for SSP
We need to adjust the params based on the available and picked SSP blob in the similar way we do for DMIC. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent d075847 commit a599fc4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

sound/soc/sof/ipc4-topology.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,6 +1849,12 @@ snd_sof_get_nhlt_endpoint_data(struct snd_sof_dev *sdev, struct snd_sof_dai *dai
18491849
__func__, dai_index);
18501850
return dev_type;
18511851
}
1852+
1853+
if (params_width(params) != bit_depth) {
1854+
format_change = true;
1855+
dev_dbg(sdev->dev, "SSP sample width change from %d to %d\n",
1856+
params_width(params), bit_depth);
1857+
}
18521858
break;
18531859
default:
18541860
return 0;

0 commit comments

Comments
 (0)