aboutsummaryrefslogtreecommitdiff
path: root/drivers/reset
diff options
context:
space:
mode:
authorAxel Lin2019-03-18 22:03:52 +0800
committerPhilipp Zabel2019-03-25 16:22:10 +0100
commit13e8a05b922457761ddef39cfff6231bd4ed9eef (patch)
treec0f5ed69657540d43f241c5e4c759e8297b800e1 /drivers/reset
parenta6256b3a92cbaf3f5ff034ce09d5665607e2d7a4 (diff)
reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev
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>
Diffstat (limited to 'drivers/reset')
-rw-r--r--drivers/reset/reset-meson-audio-arb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/reset/reset-meson-audio-arb.c b/drivers/reset/reset-meson-audio-arb.c
index 91751617b37a..c53a2185a039 100644
--- 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 :