diff options
author | Badhri Jagan Sridharan <[email protected]> | 2021-04-14 22:01:21 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-04-22 08:57:34 +0200 |
commit | 374157ff88ae1a7f7927331cbc72c1ec11994e8a (patch) | |
tree | 05649a8390ac04f7d4fa0379331a33533d8c9271 /lib/mpi/mpi-inline.h | |
parent | 4b853c236c7b5161a2e444bd8b3c76fe5aa5ddcb (diff) |
usb: typec: tcpm: Fix error while calculating PPS out values
"usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply"
introduced a regression for req_out_volt and req_op_curr calculation.
req_out_volt should consider the newly calculated max voltage instead
of previously accepted max voltage by the port partner. Likewise,
req_op_curr should consider the newly calculated max current instead
of previously accepted max current by the port partner.
Fixes: e3a072022487 ("usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply")
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Badhri Jagan Sridharan <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions