phy: phy-brcm-usb: select SOC_BRCMSTB on brcmstb only
PATCH 1/1 phy: phy-brcm-usb: select SOC_BRCMSTB on brcmstb only
From: Rafał Miłecki <[email protected]>
phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.
For ARCH_BCM4908 brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.
Depends-on: 149ae80b1d50 ("soc: bcm: brcmstb: add stubs for getting platform IDs")
--- drivers/phy/broadcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/broadcom/Kconfig +1 -1
@@ -94,7 +94,7 @@ config PHY_BRCM_USB depends on ARCH_BCM4908 || ARCH_BRCMSTB || COMPILE_TEST depends on OF select GENERIC_PHY - select SOC_BRCMSTB + select SOC_BRCMSTB if ARCH_BRCMSTB default ARCH_BCM4908 default ARCH_BRCMSTB help
Signature · 7 lines
2.26.2 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Quoted 11 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.
For
ARCH_BCM4908brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.Depends-on:
149ae80b1d50("soc: bcm: brcmstb: add stubs for getting platform IDs")Signed-off-by Rafał Miłecki <[email protected]>
Signature · 6 lines
Florian -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Sending reply-to-all after subscribing to the linux-phy@ ML.
Quoted 29 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.
For
ARCH_BCM4908brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.Depends-on:
149ae80b1d50("soc: bcm: brcmstb: add stubs for getting platform IDs")Signed-off-by Rafał Miłecki <[email protected]>--- drivers/phy/broadcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/phy/broadcom/Kconfig +1
-1@@ -94,7 +94,7 @@ config PHY_BRCM_USB depends on ARCH_BCM4908 || ARCH_BRCMSTB || COMPILE_TEST depends on OF select GENERIC_PHY - select SOC_BRCMSTB + select SOC_BRCMSTB if ARCH_BRCMSTB default ARCH_BCM4908 default ARCH_BRCMSTB help
Signature · 3 lines
linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
Quoted 8 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.
For
ARCH_BCM4908brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.
Applied, thanks
Signature · 6 lines
~Vinod -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy