Re: [PATCH v2 2/4] usb: typec-mux: nb7vpq904m: unregister typec switch on probe error and remove
From: Dmitry Baryshkov
Date: Fri Jun 07 2024 - 10:55:26 EST
On Fri, Jun 07, 2024 at 04:00:22PM +0200, Neil Armstrong wrote:
> On 07/06/2024 07:50, Dmitry Baryshkov wrote:
> > On Thu, Jun 06, 2024 at 03:11:14PM +0200, Neil Armstrong wrote:
> > > Add the missing call to typec_switch_put() when probe fails and
> > > the nb7vpq904m_remove() call is called.
> > >
> > > Fixes: 348359e7c232 ("usb: typec: nb7vpq904m: Add an error handling path in nb7vpq904m_probe()")
> > > Signed-off-by: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> > > ---
> > > drivers/usb/typec/mux/nb7vpq904m.c | 7 ++++++-
> > > 1 file changed, 6 insertions(+), 1 deletion(-)
> >
> > I'd say:
> >
> > Fixes: 88d8f3ac9c67 ("usb: typec: add support for the nb7vpq904m Type-C Linear Redriver")
>
> I should add both yes, it won't apply with only 88d8f3ac9c67
That's fine. The issue is still present in the original commit. In the
worst case you'll get a 'please backport' request.
>
> >
> > Nevertheless:
> >
> > Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>
> >
> >
> >
>
--
With best wishes
Dmitry