aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2022-11-10 17:50:21 +0000
committerMark Brown <broonie@kernel.org>2022-11-10 17:50:21 +0000
commitec39862fdd8ed6fe539dd4825191725c6a3b8a72 (patch)
treea957c7be71274656103a1687fc2192b332cc3e75 /sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
parentASoC: SOF: ipc4-topology: Add widget queue support (diff)
parentASoC: codecs: da7219: Do not export internal symbols (diff)
downloadwireguard-linux-ec39862fdd8ed6fe539dd4825191725c6a3b8a72.tar.xz
wireguard-linux-ec39862fdd8ed6fe539dd4825191725c6a3b8a72.zip
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/mt8183-da7219-max98357.c')
-rw-r--r--sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c3
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;
}