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

32 lines
1021 B
Diff
Raw Normal View History

From b0ae1746508bfb15da76c88ed7ed2a91794a2a91 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 033/153] 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