]> git.ipfire.org Git - thirdparty/linux.git/commit
ASoC: fsl: Rename stream name of SAI DAI driver
authorChancel Liu <chancel.liu@nxp.com>
Mon, 17 Feb 2025 01:04:37 +0000 (10:04 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 24 Feb 2025 18:35:53 +0000 (18:35 +0000)
commit0da83ab025bc45e9742e87c2cce19bff423377c8
tree4b7311ab5c276f8fb781ce8e61aa2131c6d78927
parent5b0c02f9b8acf2a791e531bbc09acae2d51f4f9b
ASoC: fsl: Rename stream name of SAI DAI driver

If stream names of DAI driver are duplicated there'll be warnings when
machine driver tries to add widgets on a route:

[    8.831335] fsl-asoc-card sound-wm8960: ASoC: sink widget CPU-Playback overwritten
[    8.839917] fsl-asoc-card sound-wm8960: ASoC: source widget CPU-Capture overwritten

Use different stream names to avoid such warnings.
DAI names in AUDMIX are also updated accordingly.

Fixes: 15c958390460 ("ASoC: fsl_sai: Add separate DAI for transmitter and receiver")
Signed-off-by: Chancel Liu <chancel.liu@nxp.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://patch.msgid.link/20250217010437.258621-1-chancel.liu@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_sai.c
sound/soc/fsl/imx-audmix.c