Re: [PATCH v4 3/4] usb: ehci: Add new EHCI driver for Broadcom STB SoC's
From: Andy Shevchenko
Date: Wed Apr 29 2020 - 14:11:15 EST
On Wed, Apr 29, 2020 at 8:34 PM Al Cooper <alcooperx@xxxxxxxxx> 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