Re: [PATCH v2 1/4] usb: typec-mux: ptn36502: unregister typec switch on probe error and remove

From: Dmitry Baryshkov
Date: Fri Jun 07 2024 - 01:49:12 EST


On Thu, Jun 06, 2024 at 03:11:13PM +0200, Neil Armstrong wrote:
> Add the missing call to typec_switch_put() when probe fails and
> the ptn36502_remove() call is called.
>
> Fixes: 8e99dc783648 ("usb: typec: add support for PTN36502 redriver")
> Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> ---
> drivers/usb/typec/mux/ptn36502.c | 11 +++++++++--
> 1 file changed, 9 insertions(+), 2 deletions(-)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>


--
With best wishes
Dmitry