mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
8c405cdccc
The patches were generated from the RPi repo with the following command: git format-patch v6.6.34..rpi-6.1.y Some patches needed rebasing and, as usual, the applied and reverted, wireless drivers, Github workflows, READMEs and defconfigs patches were removed. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
56 lines
2.1 KiB
Diff
56 lines
2.1 KiB
Diff
From fe027c6c6cb299f17db69d04087b2ca973f78510 Mon Sep 17 00:00:00 2001
|
|
From: Phil Elwell <phil@raspberrypi.com>
|
|
Date: Thu, 18 Apr 2024 22:13:58 +0100
|
|
Subject: [PATCH 1034/1085] ASoC: bcm: Add "owner" info for more soundcards
|
|
|
|
See: https://github.com/raspberrypi/linux/issues/5697
|
|
|
|
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
|
|
---
|
|
sound/soc/bcm/audioinjector-isolated-soundcard.c | 1 +
|
|
sound/soc/bcm/audioinjector-pi-soundcard.c | 1 +
|
|
sound/soc/bcm/dionaudio_loco-v2.c | 1 +
|
|
sound/soc/bcm/dionaudio_loco.c | 1 +
|
|
4 files changed, 4 insertions(+)
|
|
|
|
--- a/sound/soc/bcm/audioinjector-isolated-soundcard.c
|
|
+++ b/sound/soc/bcm/audioinjector-isolated-soundcard.c
|
|
@@ -116,6 +116,7 @@ static const struct snd_soc_dapm_route a
|
|
|
|
static struct snd_soc_card snd_soc_audioinjector_isolated = {
|
|
.name = "audioinjector-isolated-soundcard",
|
|
+ .owner = THIS_MODULE,
|
|
.dai_link = audioinjector_isolated_dai,
|
|
.num_links = ARRAY_SIZE(audioinjector_isolated_dai),
|
|
|
|
--- a/sound/soc/bcm/audioinjector-pi-soundcard.c
|
|
+++ b/sound/soc/bcm/audioinjector-pi-soundcard.c
|
|
@@ -125,6 +125,7 @@ static const struct snd_soc_dapm_route a
|
|
|
|
static struct snd_soc_card snd_soc_audioinjector = {
|
|
.name = "audioinjector-pi-soundcard",
|
|
+ .owner = THIS_MODULE,
|
|
.dai_link = audioinjector_pi_soundcard_dai,
|
|
.num_links = ARRAY_SIZE(audioinjector_pi_soundcard_dai),
|
|
|
|
--- a/sound/soc/bcm/dionaudio_loco-v2.c
|
|
+++ b/sound/soc/bcm/dionaudio_loco-v2.c
|
|
@@ -59,6 +59,7 @@ static struct snd_soc_dai_link snd_rpi_d
|
|
/* audio machine driver */
|
|
static struct snd_soc_card snd_rpi_dionaudio_loco_v2 = {
|
|
.name = "Dion Audio LOCO-V2",
|
|
+ .owner = THIS_MODULE,
|
|
.dai_link = snd_rpi_dionaudio_loco_v2_dai,
|
|
.num_links = ARRAY_SIZE(snd_rpi_dionaudio_loco_v2_dai),
|
|
};
|
|
--- a/sound/soc/bcm/dionaudio_loco.c
|
|
+++ b/sound/soc/bcm/dionaudio_loco.c
|
|
@@ -65,6 +65,7 @@ static struct snd_soc_dai_link snd_rpi_d
|
|
/* audio machine driver */
|
|
static struct snd_soc_card snd_rpi_dionaudio_loco = {
|
|
.name = "snd_rpi_dionaudio_loco",
|
|
+ .owner = THIS_MODULE,
|
|
.dai_link = snd_rpi_dionaudio_loco_dai,
|
|
.num_links = ARRAY_SIZE(snd_rpi_dionaudio_loco_dai),
|
|
};
|