Re: [RESEND PATCH] usb: musb-new: sunxi: fix error check

2023-06-07 Thread Marek Vasut
On 6/5/23 19:19, Sam Edwards wrote: The `musb_register` function returns some ERR_PTR(...) on failure, not NULL, so update the check here appropriately. Applied to usb/master, thanks .

[RESEND PATCH] usb: musb-new: sunxi: fix error check

2023-06-05 Thread Sam Edwards
The `musb_register` function returns some ERR_PTR(...) on failure, not NULL, so update the check here appropriately. Signed-off-by: Sam Edwards Reviewed-by: Marek Vasut --- drivers/usb/musb-new/sunxi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb-new/sunx