Skip to content
Commit 608b0c4a authored by Alexander Graf's avatar Alexander Graf Committed by Tom Rini
Browse files

serial: Use next serial device if probing fails



Currently our serial device search chokes on the fact that the serial
probe function could fail. If it does, instead of searching for the next
usable serial device, it just quits.

This patch changes the fallback logic so that even when a serial device
was not probed correctly, we just try the next ones until we find one that
works.

Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent b442e16b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment