diff options
author | Mark Brown <broonie@kernel.org> | 2022-11-10 17:50:21 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-10 17:50:21 +0000 |
commit | ec39862fdd8ed6fe539dd4825191725c6a3b8a72 (patch) | |
tree | a957c7be71274656103a1687fc2192b332cc3e75 /sound/soc/mediatek/mt8183 | |
parent | 140ccd04c580d8d305b01e1354b1035266e3c321 (diff) | |
parent | c05dff38d21556c532032f63330271b96265d448 (diff) |
ASoC: codecs: da7219: Do not export da7219_aad_jack_det()
Merge series from Cezary Rojewski <cezary.rojewski@intel.com>:
Goal of the series is to drop any usage of the internal function.
First, update all users to utilize component->set_jack() and then remove
the relevant EXPORT_SYMBOL_GPL.
Diffstat (limited to 'sound/soc/mediatek/mt8183')
-rw-r--r-- | sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c index 0e572fe28c58..87bb04846991 100644 --- a/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c +++ b/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c @@ -14,7 +14,6 @@ #include <sound/pcm_params.h> #include <sound/soc.h> -#include "../../codecs/da7219-aad.h" #include "../../codecs/da7219.h" #include "../../codecs/rt1015.h" #include "../common/mtk-afe-platform-driver.h" @@ -592,7 +591,7 @@ mt8183_da7219_max98357_headset_init(struct snd_soc_component *component) snd_jack_set_key( priv->headset_jack.jack, SND_JACK_BTN_3, KEY_VOICECOMMAND); - da7219_aad_jack_det(component, &priv->headset_jack); + snd_soc_component_set_jack(component, &priv->headset_jack, NULL); return 0; } |