diff options
author | Edward O'Callaghan <quasisec@google.com> | 2020-10-02 12:40:11 +1000 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-10-02 03:23:27 +0000 |
commit | 90ac9872cdd2a7dc254c182cec74d2314a3e9b2f (patch) | |
tree | c93829ca66bbae88836755df126aa935f2e89feb /i2c_helper_linux.c | |
parent | 3ba19b3148ebbf25d759bc3684bb936ff88270fb (diff) | |
download | flashrom-90ac9872cdd2a7dc254c182cec74d2314a3e9b2f.tar.gz flashrom-90ac9872cdd2a7dc254c182cec74d2314a3e9b2f.tar.bz2 flashrom-90ac9872cdd2a7dc254c182cec74d2314a3e9b2f.zip |
realtek_mst_i2c_spi.c: Fixup get_params() err ctrl flow
Ensure that when bus number and reset params are specified
at the same time are both correctly parsed by get_params().
Also renames the goto err cleanup path to make it clear.
Change-Id: Icb45b1ab39181b0f1a2dec1cce549d30db984936
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Spotted-by: Shiyu Sun <sshiyu@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/45944
Reviewed-by: Sam McNally <sammc@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'i2c_helper_linux.c')
0 files changed, 0 insertions, 0 deletions