提交 13e8a05b 编写于 作者: A Axel Lin 提交者: Philipp Zabel

reset: meson-audio-arb: Fix missing .owner setting of reset_controller_dev

Set .owner to prevent module unloading while being used.
Signed-off-by: NAxel Lin <axel.lin@ingics.com>
Fixes: d903779b ("reset: meson: add meson audio arb driver")
Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
上级 a6256b3a
......@@ -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 :
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册