summaryrefslogtreecommitdiffstats
path: root/sound/soc/samsung
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-08-21 20:59:21 +0800
committerMark Brown <broonie@kernel.org>2015-08-21 09:07:19 -0700
commit54d8697fa5036df0e27f8d62edb7ebc35c3f73d6 (patch)
tree380b4f70036de9f46f81e0e8377f5d7bcea1de55 /sound/soc/samsung
parentebb75c0bdba238013976b53e256f8d13216304e4 (diff)
downloadop-kernel-dev-54d8697fa5036df0e27f8d62edb7ebc35c3f73d6.zip
op-kernel-dev-54d8697fa5036df0e27f8d62edb7ebc35c3f73d6.tar.gz
ASoC: Set missing card owner field
Set the card owner field to prevent the module from being removed from underneath its users. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/samsung')
-rw-r--r--sound/soc/samsung/arndale_rt5631.c1
-rw-r--r--sound/soc/samsung/snow.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/samsung/arndale_rt5631.c b/sound/soc/samsung/arndale_rt5631.c
index 8bf2e2c..323aa0d 100644
--- a/sound/soc/samsung/arndale_rt5631.c
+++ b/sound/soc/samsung/arndale_rt5631.c
@@ -71,6 +71,7 @@ static struct snd_soc_dai_link arndale_rt5631_dai[] = {
static struct snd_soc_card arndale_rt5631 = {
.name = "Arndale RT5631",
+ .owner = THIS_MODULE,
.dai_link = arndale_rt5631_dai,
.num_links = ARRAY_SIZE(arndale_rt5631_dai),
};
diff --git a/sound/soc/samsung/snow.c b/sound/soc/samsung/snow.c
index 7651dc9..07ce2cf 100644
--- a/sound/soc/samsung/snow.c
+++ b/sound/soc/samsung/snow.c
@@ -56,6 +56,7 @@ static int snow_late_probe(struct snd_soc_card *card)
static struct snd_soc_card snow_snd = {
.name = "Snow-I2S",
+ .owner = THIS_MODULE,
.dai_link = snow_dai,
.num_links = ARRAY_SIZE(snow_dai),
OpenPOWER on IntegriCloud