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 <>
Spotted-by: Shiyu Sun <>
Reviewed-by: Sam McNally <>
Tested-by: build bot (Jenkins) <>
1 file changed