build/patch/kernel/archive/sunxi-6.1/patches.armbian/sound-soc-sunxi-sun8i-codec-analog-enable-sound.patch

32 lines
1021 B
Diff
Raw Normal View History

From 3ecf87c4d05f12487a57b8034bac6a21766882d0 Mon Sep 17 00:00:00 2001
From: The-going <48602507+The-going@users.noreply.github.com>
Date: Fri, 28 Jan 2022 13:04:18 +0300
Subject: [PATCH 046/170] sound:soc:sunxi:sun8i-codec-analog enable sound
---
sound/soc/sunxi/sun8i-codec-analog.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sound/soc/sunxi/sun8i-codec-analog.c b/sound/soc/sunxi/sun8i-codec-analog.c
index be872eefa..10387fa9f 100644
--- a/sound/soc/sunxi/sun8i-codec-analog.c
+++ b/sound/soc/sunxi/sun8i-codec-analog.c
@@ -729,8 +729,12 @@ static int sun8i_codec_analog_add_mixer(struct snd_soc_component *cmpnt,
}
static const struct sun8i_codec_analog_quirks sun8i_v3s_quirks = {
- .has_headphone = true,
- .has_hmic = true,
+ .has_headphone = true,
+ .has_hmic = true,
+ .has_linein = true,
+ .has_lineout = true,
+ .has_mbias = true,
+ .has_mic2 = true,
};
static int sun8i_codec_analog_cmpnt_probe(struct snd_soc_component *cmpnt)
--
2.35.3