* [PATCH] ASoC: brownstone: add .owner to struct snd_soc_card
@ 2013-07-02 9:26 ` Wei Yongjun
0 siblings, 0 replies; 5+ messages in thread
From: Wei Yongjun @ 2013-07-02 9:26 UTC (permalink / raw)
To: eric.y.miao, linux, haojian.zhuang, lgirdwood, broonie, perex, tiwai
Cc: yongjun_wei, linux-arm-kernel, alsa-devel, linux-kernel
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Add missing .owner of struct snd_soc_card. This prevents the
module from being removed from underneath its users.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
sound/soc/pxa/brownstone.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/pxa/brownstone.c b/sound/soc/pxa/brownstone.c
index 4ad7609..e582c05 100644
--- a/sound/soc/pxa/brownstone.c
+++ b/sound/soc/pxa/brownstone.c
@@ -129,6 +129,7 @@ static struct snd_soc_dai_link brownstone_wm8994_dai[] = {
/* audio machine driver */
static struct snd_soc_card brownstone = {
.name = "brownstone",
+ .owner = THIS_MODULE,
.dai_link = brownstone_wm8994_dai,
.num_links = ARRAY_SIZE(brownstone_wm8994_dai),
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] ASoC: brownstone: add .owner to struct snd_soc_card
@ 2013-07-02 9:26 ` Wei Yongjun
0 siblings, 0 replies; 5+ messages in thread
From: Wei Yongjun @ 2013-07-02 9:26 UTC (permalink / raw)
To: linux-arm-kernel
From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Add missing .owner of struct snd_soc_card. This prevents the
module from being removed from underneath its users.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
---
sound/soc/pxa/brownstone.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/pxa/brownstone.c b/sound/soc/pxa/brownstone.c
index 4ad7609..e582c05 100644
--- a/sound/soc/pxa/brownstone.c
+++ b/sound/soc/pxa/brownstone.c
@@ -129,6 +129,7 @@ static struct snd_soc_dai_link brownstone_wm8994_dai[] = {
/* audio machine driver */
static struct snd_soc_card brownstone = {
.name = "brownstone",
+ .owner = THIS_MODULE,
.dai_link = brownstone_wm8994_dai,
.num_links = ARRAY_SIZE(brownstone_wm8994_dai),
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: brownstone: add .owner to struct snd_soc_card
2013-07-02 9:26 ` Wei Yongjun
(?)
@ 2013-07-02 18:13 ` Mark Brown
-1 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2013-07-02 18:13 UTC (permalink / raw)
To: Wei Yongjun
Cc: eric.y.miao, linux, haojian.zhuang, lgirdwood, perex, tiwai,
yongjun_wei, linux-arm-kernel, alsa-devel, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
On Tue, Jul 02, 2013 at 05:26:21PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Add missing .owner of struct snd_soc_card. This prevents the
> module from being removed from underneath its users.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ASoC: brownstone: add .owner to struct snd_soc_card
@ 2013-07-02 18:13 ` Mark Brown
0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2013-07-02 18:13 UTC (permalink / raw)
To: Wei Yongjun
Cc: alsa-devel, linux, tiwai, linux-kernel, lgirdwood,
haojian.zhuang, yongjun_wei, eric.y.miao, linux-arm-kernel
[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]
On Tue, Jul 02, 2013 at 05:26:21PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Add missing .owner of struct snd_soc_card. This prevents the
> module from being removed from underneath its users.
Applied, thanks.
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
[-- Attachment #2: Type: text/plain, Size: 0 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH] ASoC: brownstone: add .owner to struct snd_soc_card
@ 2013-07-02 18:13 ` Mark Brown
0 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2013-07-02 18:13 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, Jul 02, 2013 at 05:26:21PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
>
> Add missing .owner of struct snd_soc_card. This prevents the
> module from being removed from underneath its users.
Applied, thanks.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130702/112fec91/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-07-02 18:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02 9:26 [PATCH] ASoC: brownstone: add .owner to struct snd_soc_card Wei Yongjun
2013-07-02 9:26 ` Wei Yongjun
2013-07-02 18:13 ` Mark Brown
2013-07-02 18:13 ` Mark Brown
2013-07-02 18:13 ` 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.