Merge 6.0-rc7 into usb-next
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Sep 2022 08:38:21 +0000 (10:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Sep 2022 08:38:21 +0000 (10:38 +0200)
We need the USB fixes in here for other follow-on changes to be able to
be applied successfully.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1  2 
drivers/usb/dwc3/core.c

@@@ -1775,17 -1752,9 +1775,11 @@@ static int dwc3_probe(struct platform_d
  
        dwc3_get_properties(dwc);
  
-       if (!dwc->sysdev_is_parent) {
-               ret = dma_set_mask_and_coherent(dwc->sysdev, DMA_BIT_MASK(64));
-               if (ret)
-                       return ret;
-       }
        dwc->reset = devm_reset_control_array_get_optional_shared(dev);
 -      if (IS_ERR(dwc->reset))
 -              return PTR_ERR(dwc->reset);
 +      if (IS_ERR(dwc->reset)) {
 +              ret = PTR_ERR(dwc->reset);
 +              goto put_usb_psy;
 +      }
  
        if (dev->of_node) {
                /*