[PATCH 1/2] ASoC: amd: acp3x-5682: Remove SND_JACK_LINEOUT

From: Akihiko Odaki
Date: Sat Sep 24 2022 - 05:50:44 EST


RT5682 only has a headset jack.

Signed-off-by: Akihiko Odaki <akihiko.odaki@xxxxxxxxx>
---
sound/soc/amd/acp3x-rt5682-max9836.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/amd/acp3x-rt5682-max9836.c b/sound/soc/amd/acp3x-rt5682-max9836.c
index 0543dda75b99..0bdd9c26dd22 100644
--- a/sound/soc/amd/acp3x-rt5682-max9836.c
+++ b/sound/soc/amd/acp3x-rt5682-max9836.c
@@ -87,7 +87,7 @@ static int acp3x_5682_init(struct snd_soc_pcm_runtime *rtd)
rt5682_dai_bclk = clk_get(component->dev, "rt5682-dai-bclk");

ret = snd_soc_card_jack_new(card, "Headset Jack",
- SND_JACK_HEADSET | SND_JACK_LINEOUT |
+ SND_JACK_HEADSET |
SND_JACK_BTN_0 | SND_JACK_BTN_1 |
SND_JACK_BTN_2 | SND_JACK_BTN_3,
&pco_jack);
--
2.37.3