mirror of
https://github.com/torvalds/linux.git
synced 2026-09-22 20:54:03 +02:00
ASoC: spear: spdif_in: Switch to snd_soc_dai_dma_data_set_capture()
Replace the legacy direct access to dai->capture_dma_data with snd_soc_dai_dma_data_set_capture(). The capture_dma_data field no longer exists in struct snd_soc_dai, making the previous implementation incompatible with current ASoC APIs. Signed-off-by: bui duc phuc <phucduc.bui@gmail.com> Link: https://patch.msgid.link/20260730095407.33894-3-phucduc.bui@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
ae788eeb17
commit
c6c14a9915
|
|
@ -55,7 +55,7 @@ static int spdif_in_dai_probe(struct snd_soc_dai *dai)
|
|||
struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai);
|
||||
|
||||
host->dma_params_rx.filter_data = &host->dma_params;
|
||||
dai->capture_dma_data = &host->dma_params_rx;
|
||||
snd_soc_dai_dma_data_set_capture(dai, &host->dma_params_rx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user