cee618011103da3dc0b3ceb1d809f6fcdc0674ff
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.4 / 0565-Add-driver_name-properties-to-JustBoom-drivers-1787.patch
1 From 0ec03b021ee12ab6c30bcc8cb617cc4b87384d25 Mon Sep 17 00:00:00 2001
2 From: Aaron Shaw <shawaj@gmail.com>
3 Date: Tue, 10 Jan 2017 16:22:53 +0000
4 Subject: [PATCH] Add driver_name properties to JustBoom drivers (#1787)
5
6 Add driver name properties for use with 5.1 passthrough audio in LibreElec
7 and other Kodi based OSs
8 ---
9 sound/soc/bcm/justboom-dac.c | 1 +
10 sound/soc/bcm/justboom-digi.c | 1 +
11 2 files changed, 2 insertions(+)
12
13 diff --git a/sound/soc/bcm/justboom-dac.c b/sound/soc/bcm/justboom-dac.c
14 index 8fd50db..05a224e 100644
15 --- a/sound/soc/bcm/justboom-dac.c
16 +++ b/sound/soc/bcm/justboom-dac.c
17 @@ -98,6 +98,7 @@ static struct snd_soc_dai_link snd_rpi_justboom_dac_dai[] = {
18 /* audio machine driver */
19 static struct snd_soc_card snd_rpi_justboom_dac = {
20 .name = "snd_rpi_justboom_dac",
21 + .driver_name = "JustBoomDac",
22 .owner = THIS_MODULE,
23 .dai_link = snd_rpi_justboom_dac_dai,
24 .num_links = ARRAY_SIZE(snd_rpi_justboom_dac_dai),
25 diff --git a/sound/soc/bcm/justboom-digi.c b/sound/soc/bcm/justboom-digi.c
26 index 91acb66..abfdc5c 100644
27 --- a/sound/soc/bcm/justboom-digi.c
28 +++ b/sound/soc/bcm/justboom-digi.c
29 @@ -154,6 +154,7 @@ static struct snd_soc_dai_link snd_rpi_justboom_digi_dai[] = {
30 /* audio machine driver */
31 static struct snd_soc_card snd_rpi_justboom_digi = {
32 .name = "snd_rpi_justboom_digi",
33 + .driver_name = "JustBoomDigi",
34 .owner = THIS_MODULE,
35 .dai_link = snd_rpi_justboom_digi_dai,
36 .num_links = ARRAY_SIZE(snd_rpi_justboom_digi_dai),
37 --
38 2.1.4
39