diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2024-02-13 15:38:24 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-02-16 17:05:48 +0530 |
commit | d4c08d8b23b22807c712208cd05cb047e92e7672 (patch) | |
tree | 048908c28535e81ae905f3f59d6097ee41807fa5 /fs/btrfs/delayed-ref.h | |
parent | 734550d60cdf634299f0eac7f7fe15763ed990bb (diff) | |
download | linux-d4c08d8b23b22807c712208cd05cb047e92e7672.tar.gz linux-d4c08d8b23b22807c712208cd05cb047e92e7672.tar.bz2 linux-d4c08d8b23b22807c712208cd05cb047e92e7672.zip |
phy: qcom-qmp-usb: fix v3 offsets data
The MSM8996 platform has registers setup different to the rest of QMP v3
USB platforms. It has PCS region at 0x600 and no PCS_MISC region, while
other platforms have PCS region at 0x800 and PCS_MISC at 0x600. This
results in the malfunctioning USB host on some of the platforms. The
commit f74c35b630d4 ("phy: qcom-qmp-usb: fix register offsets for
ipq8074/ipq6018") fixed the issue for IPQ platforms, but missed the
SDM845 which has the same register layout.
To simplify future platform addition and to make the driver more future
proof, rename qmp_usb_offsets_v3 to qmp_usb_offsets_v3_msm8996 (to mark
its peculiarity), rename qmp_usb_offsets_ipq8074 to qmp_usb_offsets_v3
and use it for SDM845 platform.
Fixes: 2be22aae6b18 ("phy: qcom-qmp-usb: populate offsets configuration")
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240213133824.2218916-1-dmitry.baryshkov@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'fs/btrfs/delayed-ref.h')
0 files changed, 0 insertions, 0 deletions