diff options
author | Alexander Graf <agraf@suse.de> | 2018-01-25 12:05:42 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-28 12:27:33 -0500 |
commit | 608b0c4ad4e5ec0c5d2c60276f19c3651d3d3cab (patch) | |
tree | 6c48149de1ca4dc49ac5c051d693ebc902a461fc /include/btrfs.h | |
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>
Diffstat (limited to 'include/btrfs.h')
0 files changed, 0 insertions, 0 deletions