[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VdwCBDTpipJZFOXxEvB4yW1qZo5XC5vs1pzHfTnVR+Nvw@mail.gmail.com>
Date: Wed, 29 Apr 2020 21:11:06 +0300
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Al Cooper <alcooperx@...il.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Alan Stern <stern@...land.harvard.edu>,
bcm-kernel-feedback-list <bcm-kernel-feedback-list@...adcom.com>,
devicetree <devicetree@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
USB <linux-usb@...r.kernel.org>,
Mathias Nyman <mathias.nyman@...el.com>,
Rob Herring <robh+dt@...nel.org>,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
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@...il.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
Powered by blists - more mailing lists