aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm2708/patches-4.9/950-0118-Add-driver_name-property.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm2708/patches-4.9/950-0118-Add-driver_name-property.patch')
-rw-r--r--target/linux/brcm2708/patches-4.9/950-0118-Add-driver_name-property.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.9/950-0118-Add-driver_name-property.patch b/target/linux/brcm2708/patches-4.9/950-0118-Add-driver_name-property.patch
new file mode 100644
index 0000000000..bfda58aa5a
--- /dev/null
+++ b/target/linux/brcm2708/patches-4.9/950-0118-Add-driver_name-property.patch
@@ -0,0 +1,20 @@
+From 341bc67d361def1f23a96c512ab6bc39f32b3601 Mon Sep 17 00:00:00 2001
+From: Aaron Shaw <shawaj@gmail.com>
+Date: Tue, 10 Jan 2017 16:05:41 +0000
+Subject: [PATCH] Add driver_name property
+
+Add driver name property for use with 5.1 passthrough audio in LibreElec and other Kodi based OSs
+---
+ sound/soc/bcm/justboom-dac.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/sound/soc/bcm/justboom-dac.c
++++ b/sound/soc/bcm/justboom-dac.c
+@@ -98,6 +98,7 @@ static struct snd_soc_dai_link snd_rpi_j
+ /* audio machine driver */
+ static struct snd_soc_card snd_rpi_justboom_dac = {
+ .name = "snd_rpi_justboom_dac",
++ .driver_name = "JustBoomDac",
+ .owner = THIS_MODULE,
+ .dai_link = snd_rpi_justboom_dac_dai,
+ .num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai),