Messages in this thread | | | From | Andy Shevchenko <> | Date | Wed, 29 Apr 2020 21:11:06 +0300 | Subject | Re: [PATCH v4 3/4] usb: ehci: Add new EHCI driver for Broadcom STB SoC's |
| |
On Wed, Apr 29, 2020 at 8:34 PM Al Cooper <alcooperx@gmail.com> wrote: > > Add a new EHCI driver for Broadcom STB SoC's. A new EHCI driver > was created instead of adding support to the existing ehci platform > driver because of the code required to workaround bugs in the EHCI > controller.
...
> +/* Copyright (c) 2018, Broadcom */
2020?
...
> + res_mem = platform_get_resource(pdev, IORESOURCE_MEM, 0); > + hcd->regs = devm_ioremap_resource(dev, res_mem);
devm_platform_get_and_ioremap_resource() ?
> + if (IS_ERR(hcd->regs)) { > + err = PTR_ERR(hcd->regs); > + goto err_clk; > + } > + hcd->rsrc_start = res_mem->start; > + hcd->rsrc_len = resource_size(res_mem);
-- With Best Regards, Andy Shevchenko
| |