ASoC: fsl: Restore configuration of platform
authorShengjiu Wang <shengjiu.wang@nxp.com>
Wed, 19 Apr 2023 10:29:18 +0000 (18:29 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 19 Apr 2023 14:36:30 +0000 (15:36 +0100)
commit09cda705860125ffee1b1359b1da79f8e0c77a40
tree3ec394ecb923285f53b771e935a1faf88ec8986c
parent574399f4c997ad71fab95dd875a9ff55424f9a3d
ASoC: fsl: Restore configuration of platform

This reverts commit 33683cbf49b54 ("ASoC: fsl: remove unnecessary
dai_link->platform").

dai_link->platform is needed. The platform component is
"snd_dmaengine_pcm", which is registered from cpu driver,

If dai_link->platform is not assigned, then platform
component will not be probed, then there will be issue:

aplay: main:831: audio open error: Invalid argument

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1681900158-17428-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmix.c
sound/soc/fsl/imx-spdif.c