aboutsummaryrefslogtreecommitdiffstats
path: root/ich_descriptors.c
diff options
context:
space:
mode:
authorAnastasia Klimchuk <aklm@chromium.org>2021-05-14 14:01:34 +1000
committerEdward O'Callaghan <quasisec@chromium.org>2021-05-19 02:09:43 +0000
commitcee470ecefbfdf7a1d08cb9d5cf3824c0f76e5c5 (patch)
tree4ee92ec2701d671f350a949611b98c3167aee78a /ich_descriptors.c
parentfbc38c71589910876466fd385a1f64f1c0c40eb7 (diff)
downloadflashrom-cee470ecefbfdf7a1d08cb9d5cf3824c0f76e5c5.tar.gz
flashrom-cee470ecefbfdf7a1d08cb9d5cf3824c0f76e5c5.tar.bz2
flashrom-cee470ecefbfdf7a1d08cb9d5cf3824c0f76e5c5.zip
stlinkv3_spi.c: Clean up properly on all init error paths
If register_spi_master() fails, going to init exit cleanup is not needed because at that point shutdown function has already been registered and it does the job. BUG=b:185191942 TEST=builds Change-Id: I9fabf48068635593bc86006c9642d8569eee8447 Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/54190 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Miklós Márton <martonmiklosqdev@gmail.com>
Diffstat (limited to 'ich_descriptors.c')
0 files changed, 0 insertions, 0 deletions