Re: [PATCH] USB: gadget: stop propagating controller OF nodes

From: Greg Kroah-Hartman

Date: Thu Sep 10 2026 - 09:57:15 EST


On Wed, Aug 12, 2026 at 04:10:53PM +0200, Johan Hovold wrote:
> On Thu, Jul 02, 2026 at 04:53:50PM +0200, Johan Hovold wrote:
> > Some UDC drivers propagate the controller OF node to the gadget device
> > but there are no (and has never been any) users of this as the
> > devicetree binding and composite driver support was never merged. [1]
> >
> > Drop the unused and incomplete support for OF node propagation which if
> > ever needed should be handled by UDC core.
> >
> > Note that this also avoids probe failures when reusing an OF node that
> > describe resources like pinctrl that are managed by driver core (cf.
> > commit 48ed32482c41 ("usb: gadget: aspeed: Fix probe regression")).
> >
> > Link: https://lore.kernel.org/all/1340720833-781-1-git-send-email-aletes.xgr@xxxxxxxxx/ [1]
> > Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> > ---
> >
> > This was something I stumbled over when fixing a couple of gadget device
> > name leaks. This one applies on top of those fixes:
> >
> > https://lore.kernel.org/all/20260702141536.90887-1-johan@xxxxxxxxxx/
>
> These fixes are now in 7.2-rc5 (and usb-next) so can this one be picked
> up for 7.3?

I'll take it now, thanks.

greg k-h