alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] ASoC: atmel: Add .owner to struct snd_soc_card
@ 2011-12-22 13:14 Axel Lin
  2011-12-22 13:16 ` [PATCH 2/6] ASoC: au1x: " Axel Lin
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Axel Lin @ 2011-12-22 13:14 UTC (permalink / raw)
  To: alsa-devel
  Cc: Mark Brown, Lars-Peter Clausen, Nicolas Ferre, Liam Girdwood,
	Lothar Waßmann

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>
---
 sound/soc/atmel/sam9g20_wm8731.c   |    1 +
 sound/soc/atmel/snd-soc-afeb9260.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/atmel/sam9g20_wm8731.c b/sound/soc/atmel/sam9g20_wm8731.c
index 0377c54..c883514 100644
--- a/sound/soc/atmel/sam9g20_wm8731.c
+++ b/sound/soc/atmel/sam9g20_wm8731.c
@@ -189,6 +189,7 @@ static struct snd_soc_dai_link at91sam9g20ek_dai = {
 
 static struct snd_soc_card snd_soc_at91sam9g20ek = {
 	.name = "AT91SAMG20-EK",
+	.owner = THIS_MODULE,
 	.dai_link = &at91sam9g20ek_dai,
 	.num_links = 1,
 	.set_bias_level = at91sam9g20ek_set_bias_level,
diff --git a/sound/soc/atmel/snd-soc-afeb9260.c b/sound/soc/atmel/snd-soc-afeb9260.c
index d427e92..4ca667d 100644
--- a/sound/soc/atmel/snd-soc-afeb9260.c
+++ b/sound/soc/atmel/snd-soc-afeb9260.c
@@ -135,6 +135,7 @@ static struct snd_soc_dai_link afeb9260_dai = {
 /* Audio machine driver */
 static struct snd_soc_card snd_soc_machine_afeb9260 = {
 	.name = "AFEB9260",
+	.owner = THIS_MODULE,
 	.dai_link = &afeb9260_dai,
 	.num_links = 1,
 };
-- 
1.7.5.4



_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-12-31  6:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-22 13:14 [PATCH 1/6] ASoC: atmel: Add .owner to struct snd_soc_card Axel Lin
2011-12-22 13:16 ` [PATCH 2/6] ASoC: au1x: " Axel Lin
2011-12-22 14:13   ` Mark Brown
2011-12-22 13:17 ` [PATCH 3/6] ASoC: blackfin: " Axel Lin
2011-12-31  6:33   ` Mike Frysinger
2011-12-22 13:19 ` [PATCH 4/6] ASoC: davinci: " Axel Lin
2011-12-22 13:21 ` [PATCH 5/6] ASoC: ep93xx: " Axel Lin
2011-12-23  8:19   ` Mika Westerberg
2011-12-22 13:23 ` [PATCH 6/6] ASoC: tegra: " Axel Lin
2011-12-22 14:13 ` [PATCH 1/6] ASoC: atmel: " Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).