linux/sound/soc/mediatek
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
..
common ASoC: mediatek: Assign dummy when codec not specified for a DAI link 2024-03-25 14:19:08 +00:00
mt2701 ASoC: DT matching and header cleanups 2023-10-09 23:14:18 +01:00
mt6797 ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mt7986 ASoC: mediatek: mt7986: silence error in case of -EPROBE_DEFER 2023-12-13 13:16:38 +00:00
mt8173 ASoC: mt8173-rt5650: Drop unused includes 2023-10-09 14:27:48 +01:00
mt8183 ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mt8186 ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mt8188 ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mt8192 ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
mt8195 ASoC: mediatek: Commonize ADDA rate transform functions and enums 2024-03-25 14:19:07 +00:00
Kconfig ASoC: mediatek: mt8188-mt6359: add es8326 support 2023-12-18 14:04:14 +00:00
Makefile ASoC: mediatek: mt7986: add platform driver 2023-08-17 13:09:17 +01:00