aboutsummaryrefslogtreecommitdiff
path: root/target/linux/bcm27xx/patches-6.1/950-1079-ASoC-bcm-audioinjector_octo-Add-soundcard-owner.patch
blob: aa025125e776d0c01ac3975c4eed6ec5c6a7dddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 020ee5029ab0b11e47696f538418105ccfdb44de Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Wed, 8 Nov 2023 19:17:33 +0000
Subject: [PATCH] ASoC: bcm: audioinjector_octo: Add soundcard "owner"

See: https://github.com/raspberrypi/linux/issues/5697

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
 sound/soc/bcm/audioinjector-octo-soundcard.c | 1 +
 1 file changed, 1 insertion(+)

--- a/sound/soc/bcm/audioinjector-octo-soundcard.c
+++ b/sound/soc/bcm/audioinjector-octo-soundcard.c
@@ -252,6 +252,7 @@ static const struct snd_soc_dapm_route a
 
 static struct snd_soc_card snd_soc_audioinjector_octo = {
 	.name = "audioinjector-octo-soundcard",
+	.owner = THIS_MODULE,
 	.dai_link = audioinjector_octo_dai,
 	.num_links = ARRAY_SIZE(audioinjector_octo_dai),