This series converts MediaTek AFE drivers' probe functions to use dev_err_probe() and devm functions where possible and, in some cases, dropping the .remove_new() callback, reducing the size. Cheers! AngeloGioacchino Del Regno (7): ASoC: mediatek: mt8173-afe-pcm: Convert to devm_pm_runtime_enable() ASoC: mediatek: mt8173-afe-pcm: Use devm_snd_soc_register_component() ASoC: mediatek: mt8183-afe-pcm: Convert to devm_pm_runtime_enable() ASoC: mediatek: mt8183-afe-pcm: Simplify with dev_err_probe() ASoC: mediatek: mt8192-afe-pcm: Convert to devm_pm_runtime_enable() ASoC: mediatek: mt8192-afe-pcm: Simplify with dev_err_probe() ASoC: mediatek: mt8195-afe-pcm: Drop .remove_new() callback sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 78 +++------------ sound/soc/mediatek/mt8183/mt8183-afe-pcm.c | 108 +++++++-------------- sound/soc/mediatek/mt8192/mt8192-afe-pcm.c | 95 ++++++------------ sound/soc/mediatek/mt8195/mt8195-afe-pcm.c | 12 +-- 4 files changed, 81 insertions(+), 212 deletions(-) -- 2.43.0
- Follow-Ups:
- Re: [PATCH 0/7] ASoC: mediatek: AFE drivers cleanups
- From: Mark Brown
- Re: [PATCH 0/7] ASoC: mediatek: AFE drivers cleanups
- From: AngeloGioacchino Del Regno
- [PATCH 7/7] ASoC: mediatek: mt8195-afe-pcm: Drop .remove_new() callback
- From: AngeloGioacchino Del Regno
- [PATCH 6/7] ASoC: mediatek: mt8192-afe-pcm: Simplify with dev_err_probe()
- From: AngeloGioacchino Del Regno
- [PATCH 4/7] ASoC: mediatek: mt8183-afe-pcm: Simplify with dev_err_probe()
- From: AngeloGioacchino Del Regno
- [PATCH 5/7] ASoC: mediatek: mt8192-afe-pcm: Convert to devm_pm_runtime_enable()
- From: AngeloGioacchino Del Regno
- [PATCH 3/7] ASoC: mediatek: mt8183-afe-pcm: Convert to devm_pm_runtime_enable()
- From: AngeloGioacchino Del Regno
- [PATCH 2/7] ASoC: mediatek: mt8173-afe-pcm: Use devm_snd_soc_register_component()
- From: AngeloGioacchino Del Regno
- [PATCH 1/7] ASoC: mediatek: mt8173-afe-pcm: Convert to devm_pm_runtime_enable()
- From: AngeloGioacchino Del Regno
- Re: [PATCH 0/7] ASoC: mediatek: AFE drivers cleanups
- Prev by Date: [PATCH] ASoC: mediatek: sof-common: Add NULL check for normal_link string
- Next by Date: [PATCH 1/7] ASoC: mediatek: mt8173-afe-pcm: Convert to devm_pm_runtime_enable()
- Previous by thread: [PATCH] ASoC: mediatek: sof-common: Add NULL check for normal_link string
- Next by thread: [PATCH 1/7] ASoC: mediatek: mt8173-afe-pcm: Convert to devm_pm_runtime_enable()
- Index(es):