All of lore.kernel.org
 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

* [PATCH 2/6] ASoC: au1x: Add .owner to struct snd_soc_card
  2011-12-22 13:14 [PATCH 1/6] ASoC: atmel: Add .owner to struct snd_soc_card Axel Lin
@ 2011-12-22 13:16 ` Axel Lin
  2011-12-22 14:13   ` Mark Brown
  2011-12-22 13:17 ` [PATCH 3/6] ASoC: blackfin: " Axel Lin
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 10+ messages in thread
From: Axel Lin @ 2011-12-22 13:16 UTC (permalink / raw)
  To: alsa-devel
  Cc: Manuel Lauss, Mark Brown, Liam Girdwood, Ralf Baechle,
	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/au1x/db1000.c |    1 +
 sound/soc/au1x/db1200.c |    6 ++++++
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/sound/soc/au1x/db1000.c b/sound/soc/au1x/db1000.c
index 094a207..511d83c 100644
--- a/sound/soc/au1x/db1000.c
+++ b/sound/soc/au1x/db1000.c
@@ -29,6 +29,7 @@ static struct snd_soc_dai_link db1000_ac97_dai = {
 
 static struct snd_soc_card db1000_ac97 = {
 	.name		= "DB1000_AC97",
+	.owner		= THIS_MODULE,
 	.dai_link	= &db1000_ac97_dai,
 	.num_links	= 1,
 };
diff --git a/sound/soc/au1x/db1200.c b/sound/soc/au1x/db1200.c
index ec725f6..c8620b7 100644
--- a/sound/soc/au1x/db1200.c
+++ b/sound/soc/au1x/db1200.c
@@ -57,6 +57,7 @@ static struct snd_soc_dai_link db1200_ac97_dai = {
 
 static struct snd_soc_card db1200_ac97_machine = {
 	.name		= "DB1200_AC97",
+	.owner		= THIS_MODULE,
 	.dai_link	= &db1200_ac97_dai,
 	.num_links	= 1,
 };
@@ -72,12 +73,14 @@ static struct snd_soc_dai_link db1300_ac97_dai = {
 
 static struct snd_soc_card db1300_ac97_machine = {
 	.name		= "DB1300_AC97",
+	.owner		= THIS_MODULE,
 	.dai_link	= &db1300_ac97_dai,
 	.num_links	= 1,
 };
 
 static struct snd_soc_card db1550_ac97_machine = {
 	.name		= "DB1550_AC97",
+	.owner		= THIS_MODULE,
 	.dai_link	= &db1200_ac97_dai,
 	.num_links	= 1,
 };
@@ -127,6 +130,7 @@ static struct snd_soc_dai_link db1200_i2s_dai = {
 
 static struct snd_soc_card db1200_i2s_machine = {
 	.name		= "DB1200_I2S",
+	.owner		= THIS_MODULE,
 	.dai_link	= &db1200_i2s_dai,
 	.num_links	= 1,
 };
@@ -143,6 +147,7 @@ static struct snd_soc_dai_link db1300_i2s_dai = {
 
 static struct snd_soc_card db1300_i2s_machine = {
 	.name		= "DB1300_I2S",
+	.owner		= THIS_MODULE,
 	.dai_link	= &db1300_i2s_dai,
 	.num_links	= 1,
 };
@@ -159,6 +164,7 @@ static struct snd_soc_dai_link db1550_i2s_dai = {
 
 static struct snd_soc_card db1550_i2s_machine = {
 	.name		= "DB1550_I2S",
+	.owner		= THIS_MODULE,
 	.dai_link	= &db1550_i2s_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

* [PATCH 3/6] ASoC: blackfin: Add .owner to struct snd_soc_card
  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 13:17 ` Axel Lin
  2011-12-31  6:33   ` Mike Frysinger
  2011-12-22 13:19 ` [PATCH 4/6] ASoC: davinci: " Axel Lin
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 10+ messages in thread
From: Axel Lin @ 2011-12-22 13:17 UTC (permalink / raw)
  To: alsa-devel
  Cc: Scott Jiang, Lars-Peter Clausen, Mike Frysinger, Mark Brown,
	Lothar, Liam Girdwood, 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/blackfin/bf5xx-ad1836.c       |    1 +
 sound/soc/blackfin/bf5xx-ad193x.c       |    1 +
 sound/soc/blackfin/bf5xx-ad1980.c       |    1 +
 sound/soc/blackfin/bf5xx-ad73311.c      |    1 +
 sound/soc/blackfin/bf5xx-ssm2602.c      |    1 +
 sound/soc/blackfin/bfin-eval-adau1373.c |    1 +
 sound/soc/blackfin/bfin-eval-adau1701.c |    1 +
 sound/soc/blackfin/bfin-eval-adav80x.c  |    1 +
 8 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/sound/soc/blackfin/bf5xx-ad1836.c b/sound/soc/blackfin/bf5xx-ad1836.c
index f79d165..60962ce 100644
--- a/sound/soc/blackfin/bf5xx-ad1836.c
+++ b/sound/soc/blackfin/bf5xx-ad1836.c
@@ -91,6 +91,7 @@ static struct snd_soc_dai_link bf5xx_ad1836_dai[] = {
 
 static struct snd_soc_card bf5xx_ad1836 = {
 	.name = "bfin-ad1836",
+	.owner = THIS_MODULE,
 	.dai_link = &bf5xx_ad1836_dai[CONFIG_SND_BF5XX_SPORT_NUM],
 	.num_links = 1,
 };
diff --git a/sound/soc/blackfin/bf5xx-ad193x.c b/sound/soc/blackfin/bf5xx-ad193x.c
index 5956584..2d8d82d 100644
--- a/sound/soc/blackfin/bf5xx-ad193x.c
+++ b/sound/soc/blackfin/bf5xx-ad193x.c
@@ -119,6 +119,7 @@ static struct snd_soc_dai_link bf5xx_ad193x_dai[] = {
 
 static struct snd_soc_card bf5xx_ad193x = {
 	.name = "bfin-ad193x",
+	.owner = THIS_MODULE,
 	.dai_link = &bf5xx_ad193x_dai[CONFIG_SND_BF5XX_SPORT_NUM],
 	.num_links = 1,
 };
diff --git a/sound/soc/blackfin/bf5xx-ad1980.c b/sound/soc/blackfin/bf5xx-ad1980.c
index 06a84b2..b30f88b 100644
--- a/sound/soc/blackfin/bf5xx-ad1980.c
+++ b/sound/soc/blackfin/bf5xx-ad1980.c
@@ -74,6 +74,7 @@ static struct snd_soc_dai_link bf5xx_board_dai[] = {
 
 static struct snd_soc_card bf5xx_board = {
 	.name = "bfin-ad1980",
+	.owner = THIS_MODULE,
 	.dai_link = &bf5xx_board_dai[CONFIG_SND_BF5XX_SPORT_NUM],
 	.num_links = 1,
 };
diff --git a/sound/soc/blackfin/bf5xx-ad73311.c b/sound/soc/blackfin/bf5xx-ad73311.c
index b94eb7e..8e49508 100644
--- a/sound/soc/blackfin/bf5xx-ad73311.c
+++ b/sound/soc/blackfin/bf5xx-ad73311.c
@@ -192,6 +192,7 @@ static struct snd_soc_dai_link bf5xx_ad73311_dai[] = {
 
 static struct snd_soc_card bf5xx_ad73311 = {
 	.name = "bfin-ad73311",
+	.owner = THIS_MODULE,
 	.probe = bf5xx_probe,
 	.dai_link = &bf5xx_ad73311_dai[CONFIG_SND_BF5XX_SPORT_NUM],
 	.num_links = 1,
diff --git a/sound/soc/blackfin/bf5xx-ssm2602.c b/sound/soc/blackfin/bf5xx-ssm2602.c
index 767e772..0303032 100644
--- a/sound/soc/blackfin/bf5xx-ssm2602.c
+++ b/sound/soc/blackfin/bf5xx-ssm2602.c
@@ -125,6 +125,7 @@ static struct snd_soc_dai_link bf5xx_ssm2602_dai[] = {
 
 static struct snd_soc_card bf5xx_ssm2602 = {
 	.name = "bfin-ssm2602",
+	.owner = THIS_MODULE,
 	.dai_link = &bf5xx_ssm2602_dai[CONFIG_SND_BF5XX_SPORT_NUM],
 	.num_links = 1,
 };
diff --git a/sound/soc/blackfin/bfin-eval-adau1373.c b/sound/soc/blackfin/bfin-eval-adau1373.c
index 85ed39a..26b271c 100644
--- a/sound/soc/blackfin/bfin-eval-adau1373.c
+++ b/sound/soc/blackfin/bfin-eval-adau1373.c
@@ -147,6 +147,7 @@ static struct snd_soc_dai_link bfin_eval_adau1373_dai = {
 
 static struct snd_soc_card bfin_eval_adau1373 = {
 	.name = "bfin-eval-adau1373",
+	.owner = THIS_MODULE,
 	.dai_link = &bfin_eval_adau1373_dai,
 	.num_links = 1,
 
diff --git a/sound/soc/blackfin/bfin-eval-adau1701.c b/sound/soc/blackfin/bfin-eval-adau1701.c
index 1a88fe9..c0064fa 100644
--- a/sound/soc/blackfin/bfin-eval-adau1701.c
+++ b/sound/soc/blackfin/bfin-eval-adau1701.c
@@ -84,6 +84,7 @@ static struct snd_soc_dai_link bfin_eval_adau1701_dai[] = {
 
 static struct snd_soc_card bfin_eval_adau1701 = {
 	.name = "bfin-eval-adau1701",
+	.owner = THIS_MODULE,
 	.dai_link = &bfin_eval_adau1701_dai[CONFIG_SND_BF5XX_SPORT_NUM],
 	.num_links = 1,
 
diff --git a/sound/soc/blackfin/bfin-eval-adav80x.c b/sound/soc/blackfin/bfin-eval-adav80x.c
index 0bc995f..4ef079f 100644
--- a/sound/soc/blackfin/bfin-eval-adav80x.c
+++ b/sound/soc/blackfin/bfin-eval-adav80x.c
@@ -93,6 +93,7 @@ static struct snd_soc_dai_link bfin_eval_adav80x_dais[] = {
 
 static struct snd_soc_card bfin_eval_adav80x = {
 	.name = "bfin-eval-adav80x",
+	.owner = THIS_MODULE,
 	.dai_link = bfin_eval_adav80x_dais,
 	.num_links = ARRAY_SIZE(bfin_eval_adav80x_dais),
 
-- 
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

* [PATCH 4/6] ASoC: davinci: Add .owner to struct snd_soc_card
  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 13:17 ` [PATCH 3/6] ASoC: blackfin: " Axel Lin
@ 2011-12-22 13:19 ` Axel Lin
  2011-12-22 13:21 ` [PATCH 5/6] ASoC: ep93xx: " Axel Lin
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 10+ messages in thread
From: Axel Lin @ 2011-12-22 13:19 UTC (permalink / raw)
  To: alsa-devel
  Cc: Rajashekhara, Sudhakar, Mark Brown, Liam Girdwood, Vaibhav Bedia,
	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/davinci/davinci-evm.c    |    6 ++++++
 sound/soc/davinci/davinci-sffsdr.c |    1 +
 2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index f78c3f0..10a2d8c 100644
--- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c
@@ -242,6 +242,7 @@ static struct snd_soc_dai_link da850_evm_dai = {
 /* davinci dm6446 evm audio machine driver */
 static struct snd_soc_card dm6446_snd_soc_card_evm = {
 	.name = "DaVinci DM6446 EVM",
+	.owner = THIS_MODULE,
 	.dai_link = &dm6446_evm_dai,
 	.num_links = 1,
 };
@@ -249,6 +250,7 @@ static struct snd_soc_card dm6446_snd_soc_card_evm = {
 /* davinci dm355 evm audio machine driver */
 static struct snd_soc_card dm355_snd_soc_card_evm = {
 	.name = "DaVinci DM355 EVM",
+	.owner = THIS_MODULE,
 	.dai_link = &dm355_evm_dai,
 	.num_links = 1,
 };
@@ -256,6 +258,7 @@ static struct snd_soc_card dm355_snd_soc_card_evm = {
 /* davinci dm365 evm audio machine driver */
 static struct snd_soc_card dm365_snd_soc_card_evm = {
 	.name = "DaVinci DM365 EVM",
+	.owner = THIS_MODULE,
 	.dai_link = &dm365_evm_dai,
 	.num_links = 1,
 };
@@ -263,18 +266,21 @@ static struct snd_soc_card dm365_snd_soc_card_evm = {
 /* davinci dm6467 evm audio machine driver */
 static struct snd_soc_card dm6467_snd_soc_card_evm = {
 	.name = "DaVinci DM6467 EVM",
+	.owner = THIS_MODULE,
 	.dai_link = dm6467_evm_dai,
 	.num_links = ARRAY_SIZE(dm6467_evm_dai),
 };
 
 static struct snd_soc_card da830_snd_soc_card = {
 	.name = "DA830/OMAP-L137 EVM",
+	.owner = THIS_MODULE,
 	.dai_link = &da830_evm_dai,
 	.num_links = 1,
 };
 
 static struct snd_soc_card da850_snd_soc_card = {
 	.name = "DA850/OMAP-L138 EVM",
+	.owner = THIS_MODULE,
 	.dai_link = &da850_evm_dai,
 	.num_links = 1,
 };
diff --git a/sound/soc/davinci/davinci-sffsdr.c b/sound/soc/davinci/davinci-sffsdr.c
index 0fe558c..f71175b 100644
--- a/sound/soc/davinci/davinci-sffsdr.c
+++ b/sound/soc/davinci/davinci-sffsdr.c
@@ -93,6 +93,7 @@ static struct snd_soc_dai_link sffsdr_dai = {
 /* davinci-sffsdr audio machine driver */
 static struct snd_soc_card snd_soc_sffsdr = {
 	.name = "DaVinci SFFSDR",
+	.owner = THIS_MODULE,
 	.dai_link = &sffsdr_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

* [PATCH 5/6] ASoC: ep93xx: Add .owner to struct snd_soc_card
  2011-12-22 13:14 [PATCH 1/6] ASoC: atmel: Add .owner to struct snd_soc_card Axel Lin
                   ` (2 preceding siblings ...)
  2011-12-22 13:19 ` [PATCH 4/6] ASoC: davinci: " Axel Lin
@ 2011-12-22 13:21 ` 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
  5 siblings, 1 reply; 10+ messages in thread
From: Axel Lin @ 2011-12-22 13:21 UTC (permalink / raw)
  To: alsa-devel
  Cc: Ryan Mallon, Mika Westerberg, Mark Brown, Alexander Sverdlin,
	Lothar, Liam Girdwood, 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/ep93xx/edb93xx.c     |    1 +
 sound/soc/ep93xx/simone.c      |    1 +
 sound/soc/ep93xx/snappercl15.c |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/ep93xx/edb93xx.c b/sound/soc/ep93xx/edb93xx.c
index 9f6fecd..bae5cbb 100644
--- a/sound/soc/ep93xx/edb93xx.c
+++ b/sound/soc/ep93xx/edb93xx.c
@@ -75,6 +75,7 @@ static struct snd_soc_dai_link edb93xx_dai = {
 
 static struct snd_soc_card snd_soc_edb93xx = {
 	.name		= "EDB93XX",
+	.owner		= THIS_MODULE,
 	.dai_link	= &edb93xx_dai,
 	.num_links	= 1,
 };
diff --git a/sound/soc/ep93xx/simone.c b/sound/soc/ep93xx/simone.c
index 1e00b33..dd99709 100644
--- a/sound/soc/ep93xx/simone.c
+++ b/sound/soc/ep93xx/simone.c
@@ -34,6 +34,7 @@ static struct snd_soc_dai_link simone_dai = {
 
 static struct snd_soc_card snd_soc_simone = {
 	.name		= "Sim.One",
+	.owner		= THIS_MODULE,
 	.dai_link	= &simone_dai,
 	.num_links	= 1,
 };
diff --git a/sound/soc/ep93xx/snappercl15.c b/sound/soc/ep93xx/snappercl15.c
index e97cd57..ccae34a 100644
--- a/sound/soc/ep93xx/snappercl15.c
+++ b/sound/soc/ep93xx/snappercl15.c
@@ -93,6 +93,7 @@ static struct snd_soc_dai_link snappercl15_dai = {
 
 static struct snd_soc_card snd_soc_snappercl15 = {
 	.name		= "Snapper CL15",
+	.owner		= THIS_MODULE,
 	.dai_link	= &snappercl15_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

* [PATCH 6/6] ASoC: tegra: Add .owner to struct snd_soc_card
  2011-12-22 13:14 [PATCH 1/6] ASoC: atmel: Add .owner to struct snd_soc_card Axel Lin
                   ` (3 preceding siblings ...)
  2011-12-22 13:21 ` [PATCH 5/6] ASoC: ep93xx: " Axel Lin
@ 2011-12-22 13:23 ` Axel Lin
  2011-12-22 14:13 ` [PATCH 1/6] ASoC: atmel: " Mark Brown
  5 siblings, 0 replies; 10+ messages in thread
From: Axel Lin @ 2011-12-22 13:23 UTC (permalink / raw)
  To: alsa-devel; +Cc: Mark Brown, Stephen Warren, 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/tegra/tegra_alc5632.c |    1 +
 sound/soc/tegra/tegra_wm8903.c  |    1 +
 sound/soc/tegra/trimslice.c     |    1 +
 3 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/sound/soc/tegra/tegra_alc5632.c b/sound/soc/tegra/tegra_alc5632.c
index 9287eb8..4a0e805 100644
--- a/sound/soc/tegra/tegra_alc5632.c
+++ b/sound/soc/tegra/tegra_alc5632.c
@@ -141,6 +141,7 @@ static struct snd_soc_dai_link tegra_alc5632_dai = {
 
 static struct snd_soc_card snd_soc_tegra_alc5632 = {
 	.name = "tegra-alc5632",
+	.owner = THIS_MODULE,
 	.dai_link = &tegra_alc5632_dai,
 	.num_links = 1,
 	.controls = tegra_alc5632_controls,
diff --git a/sound/soc/tegra/tegra_wm8903.c b/sound/soc/tegra/tegra_wm8903.c
index 4677f26..566655e 100644
--- a/sound/soc/tegra/tegra_wm8903.c
+++ b/sound/soc/tegra/tegra_wm8903.c
@@ -363,6 +363,7 @@ static struct snd_soc_dai_link tegra_wm8903_dai = {
 
 static struct snd_soc_card snd_soc_tegra_wm8903 = {
 	.name = "tegra-wm8903",
+	.owner = THIS_MODULE,
 	.dai_link = &tegra_wm8903_dai,
 	.num_links = 1,
 
diff --git a/sound/soc/tegra/trimslice.c b/sound/soc/tegra/trimslice.c
index 7d95b76..2bdfc55 100644
--- a/sound/soc/tegra/trimslice.c
+++ b/sound/soc/tegra/trimslice.c
@@ -127,6 +127,7 @@ static struct snd_soc_dai_link trimslice_tlv320aic23_dai = {
 
 static struct snd_soc_card snd_soc_trimslice = {
 	.name = "tegra-trimslice",
+	.owner = THIS_MODULE,
 	.dai_link = &trimslice_tlv320aic23_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

* Re: [PATCH 2/6] ASoC: au1x: Add .owner to struct snd_soc_card
  2011-12-22 13:16 ` [PATCH 2/6] ASoC: au1x: " Axel Lin
@ 2011-12-22 14:13   ` Mark Brown
  0 siblings, 0 replies; 10+ messages in thread
From: Mark Brown @ 2011-12-22 14:13 UTC (permalink / raw)
  To: Axel Lin
  Cc: alsa-devel, Liam Girdwood, Manuel Lauss, Ralf Baechle,
	Lothar Waßmann

On Thu, Dec 22, 2011 at 09:16:00PM +0800, Axel Lin wrote:
> Missed .owner of struct snd_soc_card will prevent the module from being
> removed from underneath its users.

This doesn't apply.

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

* Re: [PATCH 1/6] ASoC: atmel: Add .owner to struct snd_soc_card
  2011-12-22 13:14 [PATCH 1/6] ASoC: atmel: Add .owner to struct snd_soc_card Axel Lin
                   ` (4 preceding siblings ...)
  2011-12-22 13:23 ` [PATCH 6/6] ASoC: tegra: " Axel Lin
@ 2011-12-22 14:13 ` Mark Brown
  5 siblings, 0 replies; 10+ messages in thread
From: Mark Brown @ 2011-12-22 14:13 UTC (permalink / raw)
  To: Axel Lin
  Cc: alsa-devel, Lars-Peter Clausen, Nicolas Ferre, Liam Girdwood,
	Lothar Waßmann

On Thu, Dec 22, 2011 at 09:14:58PM +0800, Axel Lin wrote:
> Missed .owner of struct snd_soc_card will prevent the module from being
> removed from underneath its users.

Applied all these except the au1x one, thanks.

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

* Re: [PATCH 5/6] ASoC: ep93xx: Add .owner to struct snd_soc_card
  2011-12-22 13:21 ` [PATCH 5/6] ASoC: ep93xx: " Axel Lin
@ 2011-12-23  8:19   ` Mika Westerberg
  0 siblings, 0 replies; 10+ messages in thread
From: Mika Westerberg @ 2011-12-23  8:19 UTC (permalink / raw)
  To: Axel Lin
  Cc: alsa-devel, Ryan Mallon, Mark Brown, Alexander Sverdlin,
	Liam Girdwood, Lothar Waßmann

On Thu, Dec 22, 2011 at 09:21:37PM +0800, Axel Lin wrote:
> 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>

Thanks!

Acked-by: Mika Westerberg <mika.westerberg@iki.fi>

> ---
>  sound/soc/ep93xx/edb93xx.c     |    1 +
>  sound/soc/ep93xx/simone.c      |    1 +
>  sound/soc/ep93xx/snappercl15.c |    1 +
>  3 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/sound/soc/ep93xx/edb93xx.c b/sound/soc/ep93xx/edb93xx.c
> index 9f6fecd..bae5cbb 100644
> --- a/sound/soc/ep93xx/edb93xx.c
> +++ b/sound/soc/ep93xx/edb93xx.c
> @@ -75,6 +75,7 @@ static struct snd_soc_dai_link edb93xx_dai = {
>  
>  static struct snd_soc_card snd_soc_edb93xx = {
>  	.name		= "EDB93XX",
> +	.owner		= THIS_MODULE,
>  	.dai_link	= &edb93xx_dai,
>  	.num_links	= 1,
>  };
> diff --git a/sound/soc/ep93xx/simone.c b/sound/soc/ep93xx/simone.c
> index 1e00b33..dd99709 100644
> --- a/sound/soc/ep93xx/simone.c
> +++ b/sound/soc/ep93xx/simone.c
> @@ -34,6 +34,7 @@ static struct snd_soc_dai_link simone_dai = {
>  
>  static struct snd_soc_card snd_soc_simone = {
>  	.name		= "Sim.One",
> +	.owner		= THIS_MODULE,
>  	.dai_link	= &simone_dai,
>  	.num_links	= 1,
>  };
> diff --git a/sound/soc/ep93xx/snappercl15.c b/sound/soc/ep93xx/snappercl15.c
> index e97cd57..ccae34a 100644
> --- a/sound/soc/ep93xx/snappercl15.c
> +++ b/sound/soc/ep93xx/snappercl15.c
> @@ -93,6 +93,7 @@ static struct snd_soc_dai_link snappercl15_dai = {
>  
>  static struct snd_soc_card snd_soc_snappercl15 = {
>  	.name		= "Snapper CL15",
> +	.owner		= THIS_MODULE,
>  	.dai_link	= &snappercl15_dai,
>  	.num_links	= 1,
>  };
> -- 
> 1.7.5.4
> 
> 

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

* Re: [PATCH 3/6] ASoC: blackfin: Add .owner to struct snd_soc_card
  2011-12-22 13:17 ` [PATCH 3/6] ASoC: blackfin: " Axel Lin
@ 2011-12-31  6:33   ` Mike Frysinger
  0 siblings, 0 replies; 10+ messages in thread
From: Mike Frysinger @ 2011-12-31  6:33 UTC (permalink / raw)
  To: Axel Lin
  Cc: Scott Jiang, alsa-devel, Lars-Peter Clausen, Mark Brown, Lothar,
	Liam Girdwood, Waßmann


[-- Attachment #1.1: Type: Text/Plain, Size: 217 bytes --]

On Thursday 22 December 2011 08:17:22 Axel Lin wrote:
> Missed .owner of struct snd_soc_card will prevent the module from being
> removed from underneath its users.

Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.