Re: [PATCH v5 3/8] r8152: Cancel hw_phy_work if we have an error in probe

From: Florian Fainelli
Date: Mon Oct 23 2023 - 21:25:00 EST




On 10/20/2023 2:06 PM, Douglas Anderson wrote:
The error handling in rtl8152_probe() is missing a call to cancel the
hw_phy_work. Add it in to match what's in the cleanup code in
rtl8152_disconnect().

Fixes: a028a9e003f2 ("r8152: move the settings of PHY to a work queue")
Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian