Commit 5070ce86 authored by Al Cooper's avatar Al Cooper Committed by Vinod Koul

phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option

The previous commit 4b402fa8 ("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: 4b402fa8 ("phy: phy-brcm-usb: support PHY on the BCM4908")
Signed-off-by: default avatarAl Cooper <alcooperx@gmail.com>
Acked-by: default avatarRafał Miłecki <rafal@milecki.pl>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211201180653.35097-4-alcooperx@gmail.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 42fed570
...@@ -97,8 +97,7 @@ config PHY_BRCM_USB ...@@ -97,8 +97,7 @@ config PHY_BRCM_USB
depends on OF depends on OF
select GENERIC_PHY select GENERIC_PHY
select SOC_BRCMSTB if ARCH_BRCMSTB select SOC_BRCMSTB if ARCH_BRCMSTB
default ARCH_BCM4908 default ARCH_BCM4908 || ARCH_BRCMSTB
default ARCH_BRCMSTB
help help
Enable this to support the Broadcom STB USB PHY. Enable this to support the Broadcom STB USB PHY.
This driver is required by the USB XHCI, EHCI and OHCI This driver is required by the USB XHCI, EHCI and OHCI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment