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

Vinod Koul vkoul at kernel.org
Mon Sep 19 23:26:53 PDT 2022


On 15-09-22, 17:35, Liang He wrote:
> 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.

Applied, thanks

-- 
~Vinod



More information about the linux-phy mailing list