
4 Jul
2022
4 Jul
'22
2:19 p.m.
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@arm.com
Applied to u-boot/master, thanks!
--
Tom