Re: [PATCH 6/6] usb: bdc: Update compatible match strings

From: Alan Cooper
Date: Fri Jun 21 2019 - 09:47:12 EST


> > Remove "brcm,bdc-v0.16" because it was never used on any system.
>
> You're not really removing it, are you?

Whoops, it was supposed to be removed.
Thanks
Al

On Fri, Jun 21, 2019 at 4:28 AM Sergei Shtylyov
<sergei.shtylyov@xxxxxxxxxxxxxxxxxx> wrote:
>
> Hello!
>
> On 21.06.2019 0:09, Al Cooper wrote:
>
> > Remove "brcm,bdc-v0.16" because it was never used on any system.
>
> You're not really removing it, are you?
>
> > Add "brcm,bdc-udc-v3.1" which exists for any STB system with BDC.
> >
> > Signed-off-by: Al Cooper <alcooperx@xxxxxxxxx>
> > ---
> > drivers/usb/gadget/udc/bdc/bdc_core.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/usb/gadget/udc/bdc/bdc_core.c b/drivers/usb/gadget/udc/bdc/bdc_core.c
> > index 15e28790142d..e2b2628925e6 100644
> > --- a/drivers/usb/gadget/udc/bdc/bdc_core.c
> > +++ b/drivers/usb/gadget/udc/bdc/bdc_core.c
> > @@ -644,6 +644,7 @@ static SIMPLE_DEV_PM_OPS(bdc_pm_ops, bdc_suspend,
> > bdc_resume);
> >
> > static const struct of_device_id bdc_of_match[] = {
> > + { .compatible = "brcm,bdc-udc-v3.1" },
> > { .compatible = "brcm,bdc-v0.16" },
> > { .compatible = "brcm,bdc" },
> > { /* sentinel */ }
>
> MBR, Sergei