linux/sound/soc/mediatek/common
AngeloGioacchino Del Regno 5f39231888
ASoC: mediatek: Assign dummy when codec not specified for a DAI link
MediaTek sound card drivers are checking whether a DAI link is present
and used on a board to assign the correct parameters and this is done
by checking the codec DAI names at probe time.

If no real codec is present, assign the dummy codec to the DAI link
to avoid NULL pointer during string comparison.

Fixes: 4302187d95 ("ASoC: mediatek: common: add soundcard driver common code")
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://msgid.link/r/20240313110147.1267793-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-03-25 14:19:08 +00:00
..
Makefile ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mtk-afe-fe-dai.c ASoC: mediatek: convert not to use asoc_xxx() 2023-09-26 17:18:38 +02:00
mtk-afe-fe-dai.h ASoC: mediatek: move .suspend/.resume to component 2020-01-21 17:03:54 +00:00
mtk-afe-platform-driver.c ASoC: mediatek: convert not to use asoc_xxx() 2023-09-26 17:18:38 +02:00
mtk-afe-platform-driver.h ASoC: mediatek: Use managed buffer allocation 2019-12-12 15:41:13 +00:00
mtk-base-afe.h ASoC: mediatek: common: add SMC ops and SMC CMD 2023-01-16 11:16:20 +00:00
mtk-btcvsd.c ASoC: mediatek: Convert to generic PCM copy ops 2023-08-18 12:19:18 +02:00
mtk-dai-adda-common.c ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mtk-dai-adda-common.h ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mtk-dsp-sof-common.c ASoC: mediatek: sof-common: Add NULL check for normal_link string 2024-01-11 15:42:09 +00:00
mtk-dsp-sof-common.h ASoC: mediatek: common: revise SOF common code 2023-09-11 01:18:55 +01:00
mtk-soc-card.h ASoC: mediatek: mt8195: extract SOF common code 2022-07-18 13:45:16 +01:00
mtk-soundcard-driver.c ASoC: mediatek: Assign dummy when codec not specified for a DAI link 2024-03-25 14:19:08 +00:00
mtk-soundcard-driver.h ASoC: mediatek: common: add soundcard driver common code 2023-01-16 11:16:29 +00:00