diff options
author | Yueyao Zhu <[email protected]> | 2017-05-09 09:04:55 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-05-15 11:23:55 +0200 |
commit | aac53ee4557947d778cb6a255c719e5c70963c42 (patch) | |
tree | fc3f99da69ce0c76bce00cdd3ddb2ac8d790bbbc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 227383f8c28ea9e53d958801790d0e2e8f985d08 (diff) |
staging: typec: fusb302: Fix chip->vbus_present init value
FUSB_REG_STATUS0 & FUSB_REG_STATUS0_VBUSOK = 0x40 & 0x80 is always
zero. Fix the code to what it is intended to be: check the VBUSOK
bit of the value read from address FUSB_REG_STATUS0.
Reported-by: Dan Carpenter <[email protected]>
Cc: Guenter Roeck <[email protected]>
Signed-off-by: Yueyao Zhu <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions