summaryrefslogtreecommitdiff
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorKyle Tso <kyletso@google.com>2023-08-01 00:21:59 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-04 14:47:02 +0200
commit40f362ffa5e9ddf413825c99e9121db0ab59301f (patch)
tree2d47d777f4dedb3c9cf8f375b90af691e7ca4e7b /mm/mm_init.c
parentf2e5812fb4fb2bef665bd86dc579b292faae2029 (diff)
usb: typec: tcpm: Refactor the PPS APDO selection
In current design of the PPS APDO selection, TCPM power supply only accepts the requested voltage which is inside the range of the selected PPS profile. To extend the flexibility and usability, remove the checks about the voltage range in current profile. And try to search all PPS APDOs of the Source that fit the requested voltage. Also remove some redundant checks in tcpm_pd_build_pps_request. Signed-off-by: Kyle Tso <kyletso@google.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20230731162159.19483-1-kyletso@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions