[PATCH 0/2] usb: musb resource clean-ups

Rob Herring robh at kernel.org
Wed Dec 15 15:07:55 PST 2021


This short series reworks the platform device resources of the musb 
child device to avoid using static resources. Setting the parent 
device's DT node on the child device is sufficient for the standard 
resource functions to work.

I ran this thru kernel-ci and didn't see any failures, but I don't know 
if any tested platform uses MUSB driver or if a failure would show up in 
the boot log.

Rob

Rob Herring (2):
  usb: musb: Drop unneeded resource copying
  usb: musb: Set the DT node on the child device

 drivers/usb/musb/am35x.c    |  2 ++
 drivers/usb/musb/da8xx.c    | 20 ++++----------------
 drivers/usb/musb/jz4740.c   |  1 +
 drivers/usb/musb/mediatek.c |  2 ++
 drivers/usb/musb/omap2430.c | 23 ++---------------------
 drivers/usb/musb/ux500.c    | 18 ++----------------
 6 files changed, 13 insertions(+), 53 deletions(-)

-- 
2.32.0




More information about the Linux-mediatek mailing list