Patch "phy: rockchip: fix Kconfig dependency more" has been added to the 6.12-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    phy: rockchip: fix Kconfig dependency more

to the 6.12-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     phy-rockchip-fix-kconfig-dependency-more.patch
and it can be found in the queue-6.12 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 43ed93b1737cdae4792666a5605a73544d42a0f6
Author: Arnd Bergmann <arnd@xxxxxxxx>
Date:   Wed Jan 22 07:52:44 2025 +0100

    phy: rockchip: fix Kconfig dependency more
    
    [ Upstream commit fcf5d353b09b3fc212ab24b89ef23a7a8f7b308e ]
    
    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 <arnd@xxxxxxxx>
    Reviewed-by: Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>
    Reviewed-by: Heiko Stuebner <heiko@xxxxxxxxx>
    Link: https://lore.kernel.org/r/20250122065249.1390081-1-arnd@xxxxxxxxxx
    Signed-off-by: Vinod Koul <vkoul@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/phy/rockchip/Kconfig b/drivers/phy/rockchip/Kconfig
index 2f7a05f21dc59..dcb8e1628632e 100644
--- a/drivers/phy/rockchip/Kconfig
+++ b/drivers/phy/rockchip/Kconfig
@@ -125,6 +125,7 @@ config PHY_ROCKCHIP_USBDP
 	depends on ARCH_ROCKCHIP && OF
 	depends on TYPEC
 	select GENERIC_PHY
+	select USB_COMMON
 	help
 	  Enable this to support the Rockchip USB3.0/DP combo PHY with
 	  Samsung IP block. This is required for USB3 support on RK3588.




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux