Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 095d79dc authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: samsung: 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: default avatarLothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 561c6a17
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -244,6 +244,7 @@ static struct snd_soc_dai_link goni_dai[] = {

static struct snd_soc_card goni = {
	.name = "goni",
	.owner = THIS_MODULE,
	.dai_link = goni_dai,
	.num_links = ARRAY_SIZE(goni_dai),

+1 −0
Original line number Diff line number Diff line
@@ -215,6 +215,7 @@ static struct snd_soc_dai_link h1940_uda1380_dai[] = {

static struct snd_soc_card h1940_asoc = {
	.name = "h1940",
	.owner = THIS_MODULE,
	.dai_link = h1940_uda1380_dai,
	.num_links = ARRAY_SIZE(h1940_uda1380_dai),

+1 −0
Original line number Diff line number Diff line
@@ -127,6 +127,7 @@ static struct snd_soc_dai_link jive_dai = {
/* jive audio machine driver */
static struct snd_soc_card snd_soc_machine_jive = {
	.name		= "Jive",
	.owner		= THIS_MODULE,
	.dai_link	= &jive_dai,
	.num_links	= 1,

+1 −0
Original line number Diff line number Diff line
@@ -194,6 +194,7 @@ static int littlemill_late_probe(struct snd_soc_card *card)

static struct snd_soc_card littlemill = {
	.name = "Littlemill",
	.owner = THIS_MODULE,
	.dai_link = littlemill_dai,
	.num_links = ARRAY_SIZE(littlemill_dai),

+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ static struct snd_soc_dai_link ln2440sbc_dai[] = {

static struct snd_soc_card ln2440sbc = {
	.name = "LN2440SBC",
	.owner = THIS_MODULE,
	.dai_link = ln2440sbc_dai,
	.num_links = ARRAY_SIZE(ln2440sbc_dai),
};
Loading