Re: [PATCH] usb: gadget: udc: bcm63xx: Propagate iudma_init() error code
From: Greg Kroah-Hartman
Date: Tue Nov 17 2026 - 00:27:10 EST
On Tue, Nov 17, 2026 at 09:14:00AM +0800, Xiangwu Lai wrote:
> Hi,
>
> gentle ping for:
>
> usb: gadget: udc: bcm63xx: Propagate iudma_init() error code
> https://lore.kernel.org/all/20261103014457.1255-1-laixiangwu@xxxxxxxxxxxxxxxxxxxx/
>
> bcm63xx_init_udc_hw() calls iudma_init() and stores the return code,
> but then returns 0 unconditionally. When iudma_init() fails the
> hardware has already been torn down, yet the probe believes the
> initialization succeeded and registers a gadget controller with
> non-functional IUDMA channels. The patch propagates the error.
>
> Is there anything blocking this patch, or does it just need more
> time?
Has it been tested on real hardware?