diff options
author | Peter Geis <pgwipeout@gmail.com> | 2021-12-16 00:02:47 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-12-23 14:24:48 +0300 |
commit | 9c19c531dc98d7ba49b44802a607042e763ebe21 (patch) | |
tree | 0b5fc9aa18a8970f2669439bb14ea6083d0fbcbd /drivers/most/most_usb.c | |
parent | 8eff5b99042dd2fe6494e82ab1dc39bcdd5b976c (diff) | |
download | linux-9c19c531dc98d7ba49b44802a607042e763ebe21.tar.xz |
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/most/most_usb.c')
0 files changed, 0 insertions, 0 deletions