Re: [PATCH v5 4/8] r8152: Release firmware if we have an error in probe

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




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

Fixes: 9370f2d05a2a ("r8152: support request_firmware for RTL8153")
Signed-off-by: Douglas Anderson <dianders@xxxxxxxxxxxx>

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