linux/sound/soc/mediatek
AngeloGioacchino Del Regno fe071237de
ASoC: mediatek: Add common snd_soc_ops .startup() callback
MediaTek platforms are typically setting PCM rate and channels
constraints for playback, capture and HDMI/DisplayPort playback:
commonize the startup callback by adding the PCM constraints data
to the mtk_platform_card_data structure and by reusing the common
mtk_soundcard_startup() function for all of them by getting back
the parameters from the aforementioned struct.

Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240416071410.75620-8-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-04-16 19:59:59 +09:00
..
common ASoC: mediatek: Add common snd_soc_ops .startup() callback 2024-04-16 19:59:59 +09: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: mt8186: Migrate to mtk_soundcard_common_probe 2024-04-16 19:59:58 +09:00
mt8188 ASoC: mediatek: mt8188: Migrate to mtk_soundcard_common_probe 2024-04-16 19:59:56 +09:00
mt8192 ASoC: mediatek: mt8192: Migrate to mtk_soundcard_common_probe 2024-04-16 19:59:57 +09:00
mt8195 ASoC: mediatek: mt8195: Migrate to mtk_soundcard_common_probe 2024-04-16 19:59:56 +09: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