
26 Feb
2024
26 Feb
'24
2:04 p.m.
On 2/26/24 1:50 PM, Sumit Garg wrote:
[...]
ret = reset_get_by_name(dev, "pciephy", &imx8_phy->reset);
if (ret) {
dev_err(dev, "Failed to get PCIEPHY reset control\n");
return ret;
}
Some clk_put() and co. fail path is missing here.
Ditto for clk_put() not being available. However, I can add the fail path for the other reset.
Oh, maybe reset_free() and clk_release*() then ?