[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YZPzUmwWuuiwqJ2b@google.com>
Date: Tue, 16 Nov 2021 10:07:14 -0800
From: Matthias Kaehlcke <mka@...omium.org>
To: Doug Anderson <dianders@...omium.org>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alan Stern <stern@...land.harvard.edu>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
Mathias Nyman <mathias.nyman@...el.com>,
Felipe Balbi <balbi@...nel.org>, devicetree@...r.kernel.org,
Peter Chen <peter.chen@...nel.org>,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
Bastien Nocera <hadess@...ess.net>,
Ravi Chandra Sadineni <ravisadineni@...omium.org>,
Michal Simek <michal.simek@...inx.com>,
Roger Quadros <rogerq@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Stephen Boyd <swboyd@...omium.org>,
Andrew Lunn <andrew@...n.ch>,
Aswath Govindraju <a-govindraju@...com>,
Dmitry Osipenko <digetx@...il.com>,
Fabio Estevam <festevam@...il.com>,
Gregory Clement <gregory.clement@...tlin.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>,
Pawel Laszczak <pawell@...ence.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@...il.com>,
Tony Lindgren <tony@...mide.com>,
linux-arm-kernel@...ts.infradead.org, linux-omap@...r.kernel.org,
linux-samsung-soc@...r.kernel.org
Subject: Re: [PATCH v16 5/7] usb: Specify dependencies on USB_XHCI_PLATFORM
with 'depends on'
On Thu, Nov 11, 2021 at 03:48:06PM -0800, Doug Anderson wrote:
> Hi,
>
> On Fri, Aug 13, 2021 at 12:52 PM Matthias Kaehlcke <mka@...omium.org> wrote:
> >
> > config USB_DWC3
> > tristate "DesignWare USB3 DRD Core Support"
> > - depends on (USB || USB_GADGET) && HAS_DMA
> > - select USB_XHCI_PLATFORM if USB_XHCI_HCD
> > + depends on ((USB && USB_XHCI_PLATFORM) || USB_GADGET) && HAS_DMA
>
> Technically you don't need the "USB &&", right? Since
> USB_XHCI_PLATFORM is defined in 'usb/host/Kconfig' and that's only
> even included if USB is defined. So it can be just:
>
> depends on (USB_XHCI_PLATFORM || USB_GADGET) && HAS_DMA
True, the dependency on USB isn't strictly needed.
> That's not terribly important, though, so:
>
> Reviewed-by: Douglas Anderson <dianders@...omium.org>
Thanks!
Powered by blists - more mailing lists