]> git.baikalelectronics.ru Git - kernel.git/commit
phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option
authorAl Cooper <alcooperx@gmail.com>
Wed, 1 Dec 2021 18:06:53 +0000 (13:06 -0500)
committerVinod Koul <vkoul@kernel.org>
Sun, 23 Jan 2022 14:03:28 +0000 (19:33 +0530)
commit3f2785387b1f2ff13656f78a3377901f2aedaf62
treea78c0298bdd7d5074bae91adc03b62e17327e5de
parent4bdab2b963210e4f4d329651e657564f607f2868
phy: broadcom: Kconfig: Fix PHY_BRCM_USB config option

The previous commit 7f757658ce86 ("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: 7f757658ce86 ("phy: phy-brcm-usb: support PHY on the BCM4908")
Signed-off-by: Al Cooper <alcooperx@gmail.com>
Acked-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211201180653.35097-4-alcooperx@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/broadcom/Kconfig