usb: musb-new: sunxi: fix error check
The `musb_register` function returns some ERR_PTR(...) on failure, not NULL, so update the check here appropriately. Signed-off-by:Sam Edwards <CFSworks@gmail.com> Reviewed-by:
Marek Vasut <marex@denx.de>
Loading
Please register or sign in to comment