diff options
author | Dmitry Baryshkov <[email protected]> | 2024-01-13 22:55:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-01-27 17:46:19 -0800 |
commit | 65145a03d65be80d389bf24c1874c634527de849 (patch) | |
tree | dc33420806c0260f0b1d37345058c616ca330a6a /tools/perf/scripts/python | |
parent | 43a029724d1c8219cc4e58e9fafbeedd1bc283fa (diff) |
usb: typec: qcom-pmic-typec: fix arguments of qcom_pmic_typec_pdphy_set_roles
The function qcom_pmic_typec_set_roles() passes enum values as boolean
values to qcom_pmic_typec_pdphy_set_roles(), which then interprets them
as bit values. Be more explicit about it, pass enum values directly and
compute corresponding bit masks in qcom_pmic_typec_pdphy_set_roles().
Signed-off-by: Dmitry Baryshkov <[email protected]>
Reviewed-by: Bryan O'Donoghue <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions