* [PATCH] ASoC: mop500: add .owner to struct snd_soc_card
@ 2013-07-02 9:25 Wei Yongjun
2013-07-02 18:15 ` Mark Brown
0 siblings, 1 reply; 3+ messages in thread
From: Wei Yongjun @ 2013-07-02 9:25 UTC (permalink / raw)
To: lgirdwood, broonie, perex, tiwai, grant.likely, rob.herring,
lee.jones, linus.walleij, ola.o.lilja, wfp5p
Cc: yongjun_wei, alsa-devel, devicetree-discuss, 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/ux500/mop500.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c
index 8f5cd00..178d1ba 100644
--- a/sound/soc/ux500/mop500.c
+++ b/sound/soc/ux500/mop500.c
@@ -52,6 +52,7 @@ static struct snd_soc_dai_link mop500_dai_links[] = {
static struct snd_soc_card mop500_card = {
.name = "MOP500-card",
+ .owner = THIS_MODULE,
.probe = NULL,
.dai_link = mop500_dai_links,
.num_links = ARRAY_SIZE(mop500_dai_links),
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: mop500: add .owner to struct snd_soc_card
@ 2013-07-02 18:15 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2013-07-02 18:15 UTC (permalink / raw)
To: Wei Yongjun
Cc: lgirdwood, perex, tiwai, grant.likely, rob.herring, lee.jones,
linus.walleij, ola.o.lilja, wfp5p, yongjun_wei, alsa-devel,
devicetree-discuss, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 259 bytes --]
On Tue, Jul 02, 2013 at 05:25:37PM +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] 3+ messages in thread
* Re: [PATCH] ASoC: mop500: add .owner to struct snd_soc_card
@ 2013-07-02 18:15 ` Mark Brown
0 siblings, 0 replies; 3+ messages in thread
From: Mark Brown @ 2013-07-02 18:15 UTC (permalink / raw)
To: Wei Yongjun
Cc: ola.o.lilja-0IS4wlFg1OjSUeElwK9/Pw,
alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw, tiwai-l3A5Bk7waGM,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
lgirdwood-Re5JQEeQqe8AvxtiuMwx3w,
rob.herring-bsGFqQB8/DxBDgjK7y7TUQ, perex-/Fr2/VpizcU,
yongjun_wei-zrsr2BFq86L20UzCJQGyNP8+0UxHXcjY,
wfp5p-4Ng6DfrEGID2fBVCVOL8/A,
grant.likely-QSEj5FYQhm4dnm+yROfE0A,
lee.jones-QSEj5FYQhm4dnm+yROfE0A,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ
[-- Attachment #1.1: Type: text/plain, Size: 291 bytes --]
On Tue, Jul 02, 2013 at 05:25:37PM +0800, Wei Yongjun wrote:
> From: Wei Yongjun <yongjun_wei-zrsr2BFq86L20UzCJQGyNP8+0UxHXcjY@public.gmane.org>
>
> 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: 192 bytes --]
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
https://lists.ozlabs.org/listinfo/devicetree-discuss
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-02 18:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-02 9:25 [PATCH] ASoC: mop500: add .owner to struct snd_soc_card Wei Yongjun
2013-07-02 18:15 ` Mark Brown
2013-07-02 18:15 ` 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.