Message ID | 1561064991-16874-7-git-send-email-alcooperx@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | usb: bdc: Updates and fixes to USB BDC driver | expand |
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@gmail.com> > --- > 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
> > 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@cogentembedded.com> 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@gmail.com> > > --- > > 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
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 */ }
Remove "brcm,bdc-v0.16" because it was never used on any system. Add "brcm,bdc-udc-v3.1" which exists for any STB system with BDC. Signed-off-by: Al Cooper <alcooperx@gmail.com> --- drivers/usb/gadget/udc/bdc/bdc_core.c | 1 + 1 file changed, 1 insertion(+)