diff options
author | Moritz Fischer <[email protected]> | 2021-06-15 08:37:58 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-06-17 15:24:23 +0200 |
commit | d143825baf15f204dac60acdf95e428182aa3374 (patch) | |
tree | 654363c12baf00ab05d9b71cd8b481c1141d7a74 /samples/livepatch/livepatch-callbacks-demo.c | |
parent | 1da8116eb0c5dfc05cfb89896239badb18c4daf3 (diff) |
usb: renesas-xhci: Fix handling of unknown ROM state
The ROM load sometimes seems to return an unknown status
(RENESAS_ROM_STATUS_NO_RESULT) instead of success / fail.
If the ROM load indeed failed this leads to failures when trying to
communicate with the controller later on.
Attempt to load firmware using RAM load in those cases.
Fixes: 2478be82de44 ("usb: renesas-xhci: Add ROM loader for uPD720201")
Cc: [email protected]
Cc: Mathias Nyman <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Vinod Koul <[email protected]>
Tested-by: Vinod Koul <[email protected]>
Reviewed-by: Vinod Koul <[email protected]>
Signed-off-by: Moritz Fischer <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'samples/livepatch/livepatch-callbacks-demo.c')
0 files changed, 0 insertions, 0 deletions