diff options
| author | NĂcolas F. R. A. Prado <[email protected]> | 2025-05-07 20:14:14 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-05-08 14:12:29 +0000 |
| commit | b7e3ec4e17e27420ebe976c7714881b64c28d63b (patch) | |
| tree | e657df026a24b826771ba6ed17edcd7e691176ec /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | ASoC: mediatek: mt8188-mt6359: select CONFIG_SND_SOC_MT6359_ACCDET (diff) | |
| download | kernel-b7e3ec4e17e27420ebe976c7714881b64c28d63b.tar.gz kernel-b7e3ec4e17e27420ebe976c7714881b64c28d63b.zip | |
ASoC: mediatek: mt8188-mt6359: Depend on MT6359_ACCDET set or disabled
Commit 0116a7d84b32 ("ASoC: mediatek: mt6359: Add stub for
mt6359_accdet_enable_jack_detect") added a stub for
mt6359_accdet_enable_jack_detect() in order to allow the mt8188-mt6359
driver to be enabled without requiring the mt6359-accdet to also be
enabled, since it is not always needed.
However, in the case that CONFIG_SND_SOC_MT8188_MT6359=y and
CONFIG_SND_SOC_MT6359_ACCDET=m, a link error will happen, which commit
b19fa45715ce ("ASoC: mediatek: mt8188-mt6359: select
CONFIG_SND_SOC_MT6359_ACCDET") solved by selecting
CONFIG_SND_SOC_MT6359_ACCDET.
In order to not require CONFIG_SND_SOC_MT6359_ACCDET as originally
intended, but also prevent the link error, depend on ACCDET being
enabled or disabled (which will force MT8188_MT6359=m if
MT6359_ACCDET=m).
Fixes: f35d834d67ad ("ASoC: mediatek: mt8188-mt6359: Add accdet headset jack detect support")
Fixes: b19fa45715ce ("ASoC: mediatek: mt8188-mt6359: select CONFIG_SND_SOC_MT6359_ACCDET")
Suggested-by: Arnd Bergmann <[email protected]>
Signed-off-by: NĂcolas F. R. A. Prado <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Link: https://patch.msgid.link/20250507-mt8188-mt6359-accdet-depend-v1-1-aad70ce62964@collabora.com
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
