diff options
| author | Xiangxu Yin <xiangxu.yin@oss.qualcomm.com> | 2025-12-15 15:42:03 +0300 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-12-23 20:41:04 +0300 |
| commit | cb2255822509c9dcdd1fad0cd167032dee7dc6c1 (patch) | |
| tree | c3045dba2f457cf7e45322b446660a37a527ac07 /include | |
| parent | 049e708e7705534a9992b24c5090d133c8efbca6 (diff) | |
| download | linux-cb2255822509c9dcdd1fad0cd167032dee7dc6c1.tar.xz | |
phy: qcom: qmp-usbc: Move USB-only init to usb_power_on
The current implementation programs USB-specific registers in
qmp_usbc_com_init(), which is shared by both USB and DP modes. This
causes unnecessary configuration when the PHY is used for DP.
Move USB-only register setup from com_init to qmp_usbc_usb_power_on,
so it runs only for USB mode.
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>
Link: https://patch.msgid.link/20251215-add-displayport-support-for-qcs615-platform-v8-7-cbc72c88a44e@oss.qualcomm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
