summaryrefslogtreecommitdiff
path: root/libre/linux-libre-lts/0003-ARM-sun5i-chip-Enable-the-audio-codec.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/linux-libre-lts/0003-ARM-sun5i-chip-Enable-the-audio-codec.patch')
-rw-r--r--libre/linux-libre-lts/0003-ARM-sun5i-chip-Enable-the-audio-codec.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/libre/linux-libre-lts/0003-ARM-sun5i-chip-Enable-the-audio-codec.patch b/libre/linux-libre-lts/0003-ARM-sun5i-chip-Enable-the-audio-codec.patch
new file mode 100644
index 000000000..e9b2c566c
--- /dev/null
+++ b/libre/linux-libre-lts/0003-ARM-sun5i-chip-Enable-the-audio-codec.patch
@@ -0,0 +1,32 @@
+From e54693ed82ae0fee934a21328536751afd293c80 Mon Sep 17 00:00:00 2001
+From: Maxime Ripard <maxime.ripard@free-electrons.com>
+Date: Tue, 28 Jul 2015 10:37:01 +0200
+Subject: [PATCH 3/9] ARM: sun5i: chip: Enable the audio codec
+
+The CHIP v0.2 has a composite output on a mini-jack connector, the audio
+part being provided by the on-SoC codec. Enable it.
+
+Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
+Acked-by: Chen-Yu Tsai <wens@csie.org>
+---
+ arch/arm/boot/dts/sun5i-r8-chip.dts | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts
+index abf3ccb..530ab28 100644
+--- a/arch/arm/boot/dts/sun5i-r8-chip.dts
++++ b/arch/arm/boot/dts/sun5i-r8-chip.dts
+@@ -66,6 +66,10 @@
+ };
+ };
+
++&codec {
++ status = "okay";
++};
++
+ &ehci0 {
+ status = "okay";
+ };
+--
+cgit v0.12
+