[PATCH] usb: host: ehci-generic: Fix error check
Tom Rini
trini at konsulko.com
Mon Jul 4 14:19:30 CEST 2022
On Sat, Jul 02, 2022 at 01:45:10AM +0100, Andre Przywara wrote:
> Commit 81755b8c20fe ("usb: host: ehci-generic: Make resets and clocks
> optional") improved the error check to cover the reset property being
> optional. However this was using the wrong error variable for the
> check, so would now never fail.
>
> Use the correct error variable for checking the result of
> reset_get_bulk(), to actually report genuine errors.
>
> Fixes: 81755b8c20fe ("usb: host: ehci-generic: Make resets and clocks optional")
> Signed-off-by: Andre Przywara <andre.przywara at arm.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220704/d71d7e6e/attachment.sig>
More information about the U-Boot
mailing list