projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6256b3
)
reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev
author
Axel Lin
<axel.lin@ingics.com>
Mon, 18 Mar 2019 14:03:52 +0000
(22:03 +0800)
committer
Philipp Zabel
<p.zabel@pengutronix.de>
Mon, 25 Mar 2019 15:22:10 +0000
(16:22 +0100)
Set .owner to prevent module unloading while being used.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Fixes:
d903779b58be
("reset: meson: add meson audio arb driver")
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/reset/reset-meson-audio-arb.c
patch
|
blob
|
history
diff --git
a/drivers/reset/reset-meson-audio-arb.c
b/drivers/reset/reset-meson-audio-arb.c
index
9175161
..
c53a218
100644
(file)
--- a/
drivers/reset/reset-meson-audio-arb.c
+++ b/
drivers/reset/reset-meson-audio-arb.c
@@
-130,6
+130,7
@@
static int meson_audio_arb_probe(struct platform_device *pdev)
arb->rstc.nr_resets = ARRAY_SIZE(axg_audio_arb_reset_bits);
arb->rstc.ops = &meson_audio_arb_rstc_ops;
arb->rstc.of_node = dev->of_node;
+ arb->rstc.owner = THIS_MODULE;
/*
* Enable general :