mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ASoC: rockchip: dlp: Fix compilation errors on kernel 6.1
sound/soc/rockchip/rockchip_dlp.c:434:16: error: 'struct snd_soc_pcm_runtime' has no member named 'num_cpus' Signed-off-by: Tao Huang <huangtao@rock-chips.com> Change-Id: Iaa54add4e0779ba4ddd4f3225799250cde089f1c
This commit is contained in:
@@ -431,7 +431,7 @@ dmaengine_pcm_set_runtime_hwparams(struct snd_soc_component *component,
|
||||
struct snd_dmaengine_dai_dma_data *dma_data;
|
||||
struct snd_pcm_hardware hw;
|
||||
|
||||
if (rtd->num_cpus > 1) {
|
||||
if (rtd->dai_link->num_cpus > 1) {
|
||||
dev_err(rtd->dev,
|
||||
"%s doesn't support Multi CPU yet\n", __func__);
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user