Re: [PATCH] usb: ehci-orion: Handle errors of clk_prepare_enable() in probe
From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-08-25 17:33:39
Also in:
lkml
From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-08-25 17:33:39
Also in:
lkml
On Wed, Aug 25, 2021 at 08:09:02PM +0300, Evgeny Novikov wrote:
ehci_orion_drv_probe() did not account for possible errors of clk_prepare_enable()
Hi Evgeny
Your patch looks good.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
At the time this was added, clk_prepare_enable() could not actually
fail, the clocks are built in, there was no error path that could
trigger. I've no idea if this is still true, so please do have this
patch merged.
Andrew