openwrt/target/linux/bcm27xx/patches-6.1/950-1079-ASoC-bcm-audioinjector_octo-Add-soundcard-owner.patch

23 lines
795 B
Diff
Raw Normal View History

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),