aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phy/qualcomm/phy-qcom-qmp.c
diff options
context:
space:
mode:
authorPeter Geis <pgwipeout@gmail.com>2021-12-15 16:02:47 -0500
committerVinod Koul <vkoul@kernel.org>2021-12-23 16:54:48 +0530
commit9c19c531dc98d7ba49b44802a607042e763ebe21 (patch)
tree0b5fc9aa18a8970f2669439bb14ea6083d0fbcbd /drivers/phy/qualcomm/phy-qcom-qmp.c
parentdt-bindings: phy: phy-rockchip-inno-usb2: add rk3568 documentation (diff)
downloadlinux-dev-9c19c531dc98d7ba49b44802a607042e763ebe21.tar.xz
linux-dev-9c19c531dc98d7ba49b44802a607042e763ebe21.zip
phy: phy-rockchip-inno-usb2: support #address_cells = 2
New Rockchip devices have the usb phy nodes as standalone devices. These nodes have register nodes with #address_cells = 2, but only use 32 bit addresses. Adjust the driver to check if the returned address is "0", and adjust the index in that case. Signed-off-by: Peter Geis <pgwipeout@gmail.com> Tested-by: Michael Riesch <michael.riesch@wolfvision.net> Link: https://lore.kernel.org/r/20211215210252.120923-4-pgwipeout@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/qualcomm/phy-qcom-qmp.c')
0 files changed, 0 insertions, 0 deletions