mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 04:50:57 +07:00
ASoC: ep93xx: Add .owner to struct snd_soc_card
Missed .owner of struct snd_soc_card will prevent the module from being removed from underneath its users. Reported-by: Lothar Waßmann <LW@KARO-electronics.de> Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
36a16d1ae0
commit
a76a702329
@ -75,6 +75,7 @@ static struct snd_soc_dai_link edb93xx_dai = {
|
|||||||
|
|
||||||
static struct snd_soc_card snd_soc_edb93xx = {
|
static struct snd_soc_card snd_soc_edb93xx = {
|
||||||
.name = "EDB93XX",
|
.name = "EDB93XX",
|
||||||
|
.owner = THIS_MODULE,
|
||||||
.dai_link = &edb93xx_dai,
|
.dai_link = &edb93xx_dai,
|
||||||
.num_links = 1,
|
.num_links = 1,
|
||||||
};
|
};
|
||||||
|
@ -34,6 +34,7 @@ static struct snd_soc_dai_link simone_dai = {
|
|||||||
|
|
||||||
static struct snd_soc_card snd_soc_simone = {
|
static struct snd_soc_card snd_soc_simone = {
|
||||||
.name = "Sim.One",
|
.name = "Sim.One",
|
||||||
|
.owner = THIS_MODULE,
|
||||||
.dai_link = &simone_dai,
|
.dai_link = &simone_dai,
|
||||||
.num_links = 1,
|
.num_links = 1,
|
||||||
};
|
};
|
||||||
|
@ -93,6 +93,7 @@ static struct snd_soc_dai_link snappercl15_dai = {
|
|||||||
|
|
||||||
static struct snd_soc_card snd_soc_snappercl15 = {
|
static struct snd_soc_card snd_soc_snappercl15 = {
|
||||||
.name = "Snapper CL15",
|
.name = "Snapper CL15",
|
||||||
|
.owner = THIS_MODULE,
|
||||||
.dai_link = &snappercl15_dai,
|
.dai_link = &snappercl15_dai,
|
||||||
.num_links = 1,
|
.num_links = 1,
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user