diff options
author | Konrad Dybcio <konrad.dybcio@linaro.org> | 2023-09-11 22:07:14 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-09-21 16:23:13 +0200 |
commit | 112c23705c6dc59a05290c8e3e597e1b4e9c23fc (patch) | |
tree | c71c612c931adacaba845132efac56b9c7b23036 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | ecec1de5c58f8f3ab6959fcf8d68752eeb65311d (diff) |
phy: qcom-qmp-combo: Square out 8550 POWER_STATE_CONFIG1
There are two instances of the POWER_STATE_CONFIG1 register: one in
the PCS space and another one in PCS_USB.
The downstream init sequence pokes the latter one while we've been poking
the former one (and misnamed it as the latter one, impostor!). Fix that
up to avoid UB.
Fixes: 49742e9edab3 ("phy: qcom-qmp-combo: Add support for SM8550")
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230829-topic-8550_usbphy-v3-1-34ec434194c5@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions