ASoC: atmel: Add .owner to struct snd_soc_card
Subsystems (5)
PATCH 1/6 ASoC: atmel: 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.
--- sound/soc/atmel/sam9g20_wm8731.c | 1 + sound/soc/atmel/snd-soc-afeb9260.c | 1 + 2 files changed, 2 insertions(+), 0 deletions(-)
sound/soc/atmel/sam9g20_wm8731.c +1 -0
@@ -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,
sound/soc/atmel/snd-soc-afeb9260.c +1 -0
@@ -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 , };
Signature · 8 lines
1.7.5.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 2/6 ASoC: au1x: 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.
--- sound/soc/au1x/db1000.c | 1 + sound/soc/au1x/db1200.c | 6 ++++++ 2 files changed, 7 insertions(+), 0 deletions(-)
sound/soc/au1x/db1000.c +1 -0
@@ -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 , };
sound/soc/au1x/db1200.c +6 -0
@@ -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 , };
Signature · 8 lines
1.7.5.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH 2/6] ASoC: au1x: Add .owner to struct snd_soc_card
Quoted 2 lines · Axel Lin
Missed .owner of struct
snd_soc_cardwill prevent the module from being removed from underneath its users.
This doesn't apply.
PATCH 3/6 ASoC: blackfin: Add .owner to struct snd_soc_card
In reply to Axel LinMissed .owner of struct snd_soc_card will prevent the module from being removed from underneath its users.
--- 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(-)
sound/soc/blackfin/bf5xx-ad1836.c +1 -0
@@ -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 , };
sound/soc/blackfin/bf5xx-ad193x.c +1 -0
@@ -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 , };
sound/soc/blackfin/bf5xx-ad1980.c +1 -0
@@ -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 , };
sound/soc/blackfin/bf5xx-ad73311.c +1 -0
@@ -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 ,
sound/soc/blackfin/bf5xx-ssm2602.c +1 -0
@@ -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 , };
sound/soc/blackfin/bfin-eval-adau1373.c +1 -0
@@ -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 ,
sound/soc/blackfin/bfin-eval-adau1701.c +1 -0
@@ -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 ,
sound/soc/blackfin/bfin-eval-adav80x.c +1 -0
@@ -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),
Signature · 8 lines
1.7.5.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH 3/6] ASoC: blackfin: Add .owner to struct snd_soc_card
Quoted 2 lines · On Thursday 22 December 2011 08:17:22 Axel Lin wrote:
Missed .owner of struct
snd_soc_cardwill prevent the module from being removed from underneath its users.
-mike
PATCH 4/6 ASoC: davinci: Add .owner to struct snd_soc_card
In reply to Axel LinMissed .owner of struct snd_soc_card will prevent the module from being removed from underneath its users.
--- sound/soc/davinci/davinci-evm.c | 6 ++++++ sound/soc/davinci/davinci-sffsdr.c | 1 + 2 files changed, 7 insertions(+), 0 deletions(-)
sound/soc/davinci/davinci-evm.c +6 -0
@@ -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 , };
sound/soc/davinci/davinci-sffsdr.c +1 -0
@@ -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 , };
Signature · 8 lines
1.7.5.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
PATCH 5/6 ASoC: ep93xx: Add .owner to struct snd_soc_card
In reply to Axel LinMissed .owner of struct snd_soc_card will prevent the module from being removed from underneath its users.
--- 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(-)
sound/soc/ep93xx/edb93xx.c +1 -0
@@ -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 , };
sound/soc/ep93xx/simone.c +1 -0
@@ -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 , };
sound/soc/ep93xx/snappercl15.c +1 -0
@@ -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 , };
Signature · 8 lines
1.7.5.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Re: [PATCH 5/6] ASoC: ep93xx: Add .owner to struct snd_soc_card
Quoted 5 lines · Axel Lin
Missed .owner of struct
snd_soc_cardwill prevent the module from being removed from underneath its users.Reported-by Lothar Waßmann <[email protected]>Signed-off-by Axel Lin <[email protected]>
Thanks!
Quoted 46 lines
--- 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(-)sound/soc/ep93xx/edb93xx.c +1
-0@@ -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 , };sound/soc/ep93xx/simone.c +1
-0@@ -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 , };sound/soc/ep93xx/snappercl15.c +1
-0@@ -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 , };Signature · 1 line
1.7.5.4
PATCH 6/6 ASoC: tegra: Add .owner to struct snd_soc_card
In reply to Axel LinMissed .owner of struct snd_soc_card will prevent the module from being removed from underneath its users.
--- 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(-)
sound/soc/tegra/tegra_alc5632.c +1 -0
@@ -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,
sound/soc/tegra/tegra_wm8903.c +1 -0
@@ -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 ,
sound/soc/tegra/trimslice.c +1 -0
@@ -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 ,
Signature · 8 lines
1.7.5.4 _______________________________________________ Alsa-devel mailing list [email protected] http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Mark Brown
AppliedQuoted 2 lines · Axel Lin
Missed .owner of struct
snd_soc_cardwill prevent the module from being removed from underneath its users.
Applied all these except the au1x one, thanks.