Skip to content

Commit da50795

Browse files
alcooperhygoni
authored andcommitted
phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
The previous commit 4b402fa ("phy: phy-brcm-usb: support PHY on the BCM4908") added a second "default" line for ARCH_BCM_4908 above the original "default" line for ARCH_BRCMSTB. When two "default" lines are used, only the first is used and this change stopped the PHY_BRCM_USB option for being enabled for ARCH_BRCMSTB. The fix is to use one "default line with "||". Fixes: 4b402fa ("phy: phy-brcm-usb: support PHY on the BCM4908") Signed-off-by: Al Cooper <[email protected]> Acked-by: Rafał Miłecki <[email protected]> Acked-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent 2656207 commit da50795

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/phy/broadcom/Kconfig

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ config PHY_BRCM_USB
9797
depends on OF
9898
select GENERIC_PHY
9999
select SOC_BRCMSTB if ARCH_BRCMSTB
100-
default ARCH_BCM4908
101-
default ARCH_BRCMSTB
100+
default ARCH_BCM4908 || ARCH_BRCMSTB
102101
help
103102
Enable this to support the Broadcom STB USB PHY.
104103
This driver is required by the USB XHCI, EHCI and OHCI

0 commit comments

Comments
 (0)