diff options
author | Sam Edwards <cfsworks@gmail.com> | 2023-06-05 11:19:37 -0600 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2023-06-07 23:38:51 +0200 |
commit | 3cbd92da9f49bbff630a615887132da03444ce43 (patch) | |
tree | f4732fc3f62c74cd4b1a06be95750f7ff9e48d01 /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c | |
parent | 0a8a4b86422650d6955a2382796089735453902d (diff) |
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>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions