diff options
| author | Arnd Bergmann <[email protected]> | 2025-01-22 06:52:44 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-02-04 05:12:37 +0000 |
| commit | fcf5d353b09b3fc212ab24b89ef23a7a8f7b308e (patch) | |
| tree | ca190d43ca332db6ff597f6ba16c6940888b942f /tools/testing/selftests/net/lib/py/utils.py | |
| parent | Linux 6.14-rc1 (diff) | |
| download | kernel-fcf5d353b09b3fc212ab24b89ef23a7a8f7b308e.tar.gz kernel-fcf5d353b09b3fc212ab24b89ef23a7a8f7b308e.zip | |
phy: rockchip: fix Kconfig dependency more
A previous patch ensured that USB Type C connector support is enabled,
but it is still possible to build the phy driver without enabling
CONFIG_USB (host support) or CONFIG_USB_GADGET (device support), and
in that case the common helper functions are unavailable:
aarch64-linux-ld: drivers/phy/rockchip/phy-rockchip-usbdp.o: in function `rk_udphy_probe':
phy-rockchip-usbdp.c:(.text+0xe74): undefined reference to `usb_get_maximum_speed'
Select CONFIG_USB_COMMON directly here, like we do in some other phy
drivers, to make sure this is available even when actual USB support
is disabled or in a loadable module that cannot be reached from a
built-in phy driver.
Fixes: 9c79b779643e ("phy: rockchip: fix CONFIG_TYPEC dependency")
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
