commit | 608b0c4ad4e5ec0c5d2c60276f19c3651d3d3cab | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Thu Jan 25 12:05:42 2018 +0100 |
committer | Tom Rini <trini@konsulko.com> | Sun Jan 28 12:27:33 2018 -0500 |
tree | 6c48149de1ca4dc49ac5c051d693ebc902a461fc | |
parent | b442e16b876f92af82768d6ec86fe71ecea01166 [diff] |
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: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>