Skip to content
Snippets Groups Projects
Commit 7e83f1d5 authored by Troy Kisky's avatar Troy Kisky Committed by Tom Rini
Browse files

sata: fix sata_Probe return value check


sata_probe returns 1 for failure, so don't checkout for < 0

fixes: f19f1ecb dm: sata: Support driver model with the 'sata' command

Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 17585e2d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment