Skip to content
Commit c4c349be authored by Liang He's avatar Liang He Committed by Vinod Koul
Browse files

phy: amlogic: phy-meson-axg-mipi-pcie-analog: Hold reference returned by of_get_parent()



As the of_get_parent() will increase the refcount of the node->parent
and the reference will be discarded, so we should hold the reference
with which we can decrease the refcount when done.

Fixes: 8eff8b4e ("phy: amlogic: phy-meson-axg-mipi-pcie-analog: add support for MIPI DSI analog")
Signed-off-by: default avatarLiang He <windhl@126.com>

Link: https://lore.kernel.org/r/20220915093506.4009456-1-windhl@126.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 92086b88
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment