summaryrefslogtreecommitdiffstats
path: root/ch341a_spi.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-22 11:28:00 +0100
committerNico Huber <nico.h@gmx.de>2021-10-01 11:11:11 +0000
commit1e2a5d8d8dc89bf4747a0967f213e17e1ae2a793 (patch)
tree507711c6d02e49ae68d2e738937674da85e55969 /ch341a_spi.c
parenta16f6a549737a0ca1f6b18cb2b62cd39a54e50b6 (diff)
downloadflashrom-1e2a5d8d8dc89bf4747a0967f213e17e1ae2a793.tar.gz
flashrom-1e2a5d8d8dc89bf4747a0967f213e17e1ae2a793.tar.bz2
flashrom-1e2a5d8d8dc89bf4747a0967f213e17e1ae2a793.zip
dediprog.c: Split up compound conditional and swap two operations
register_spi_master now becomes the last operation in init function, which is consistent with other spi masters. In addition, the patch fixes propagation of register_spi_master return values, which is also consistent with other spi masters. TEST=ninja test Change-Id: Ib7e0179da39279e32a8497466b044b69ec836da8 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Signed-off-by: Anastasia Klimchuk <aklm@chromium.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/51706 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'ch341a_spi.c')
0 files changed, 0 insertions, 0 deletions