Skip to content

Commit 7fd466c

Browse files
quic-bjorandeandersson
authored andcommitted
qdl: Propagate the success of decode_sahara_config()
Commit '44e7be00aca0 ("sahara: Drop "single image" concept")' cleaned up the handling of programmer selection, but in the new flow failed to propagate the successful decoding of the sahara_config. Fixes: 44e7be0 ("sahara: Drop "single image" concept") Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
1 parent f60f2bd commit 7fd466c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qdl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ static int decode_programmer(char *s, struct sahara_image *images)
400400

401401
ret = decode_sahara_config(&archive, images);
402402
if (ret < 0 || ret == 1)
403-
return -1;
403+
return ret;
404404

405405
images[SAHARA_ID_EHOSTDL_IMG] = archive;
406406
}

0 commit comments

Comments
 (0)