[PATCH v2] usb: dwc3: Handle case where setup_phy is not needed

Marek Vasut marex at denx.de
Wed Oct 21 16:59:08 CEST 2020


On 10/21/20 2:17 PM, Michal Simek wrote:
> From: Siva Durga Prasad Paladugu <siva.durga.paladugu at xilinx.com>
> 
> If CONFIG_PHY is not enabled then the dwc3_setup_phy()
> returns ENOTSUPP which can be still valid and intentional
> so modify error check to handle this -ENOTSUPP.
> 
> The same error handling exists in drivers/usb/host/xhci-dwc3.c already
> added by commit d648a50c0a27 ("dwc3: move phy operation to core.c").

Applied, thanks.


More information about the U-Boot mailing list