diff options
| author | Nicholas Troast <ntroast@codeaurora.org> | 2016-11-10 08:20:11 -0800 |
|---|---|---|
| committer | Nicholas Troast <ntroast@codeaurora.org> | 2016-11-21 11:50:41 -0800 |
| commit | 741249df6236d042a4005c47e16ecbc52d15626e (patch) | |
| tree | fd294f473bffe2ca9bc4ec86764c87a8816da2cc /scripts/build-all.py | |
| parent | ca271780b481275e52cfa12ba310ff28324c2048 (diff) | |
smb-lib: fix vbus-error handler
Reading TYPE_C_STATUS_5_REG overwrites what was read from
TYPE_C_STATUS_4_REG therefore, the incorrect register is masked when
determining whether a vbus-error had occurred.
Re-arrange the USB Type-C changed handler so that function calls which
could fail are called first and store the status separately.
Change-Id: I302e06498b2696d6af06c0360c12f82711b0911d
Signed-off-by: Nicholas Troast <ntroast@codeaurora.org>
Diffstat (limited to 'scripts/build-all.py')
0 files changed, 0 insertions, 0 deletions
