Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc04b5b3 authored by Axel Lin's avatar Axel Lin Committed by Greg Kroah-Hartman
Browse files

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



[ Upstream commit 13e8a05b922457761ddef39cfff6231bd4ed9eef ]

Set .owner to prevent module unloading while being used.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Fixes: d903779b ("reset: meson: add meson audio arb driver")
Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ef953348
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 :