* [PATCH] usb: musb: select GENERIC_PHY instead of depending on it
@ 2021-10-05 23:57 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2021-10-05 23:57 UTC (permalink / raw)
To: linux-kernel
Cc: Randy Dunlap, Bin Liu, Min Guo, Yonglong Wu, Greg Kroah-Hartman,
linux-mediatek
The kconfig symbol GENERIC_PHY says:
All the users of this framework should select this config.
and around 136 out of 138 drivers do so, so change USB_MUSB_MEDIATEK
to do so also.
This (also) fixes a long circular dependency problem for an upcoming
patch.
Fixes: 0990366bab3c ("usb: musb: Add support for MediaTek musb controller")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Bin Liu <b-liu@ti.com>
Cc: Min Guo <min.guo@mediatek.com>
Cc: Yonglong Wu <yonglong.wu@mediatek.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-mediatek@lists.infradead.org
---
Applies to mainline.
drivers/usb/musb/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20211005.orig/drivers/usb/musb/Kconfig
+++ linux-next-20211005/drivers/usb/musb/Kconfig
@@ -120,7 +120,7 @@ config USB_MUSB_MEDIATEK
tristate "MediaTek platforms"
depends on ARCH_MEDIATEK || COMPILE_TEST
depends on NOP_USB_XCEIV
- depends on GENERIC_PHY
+ select GENERIC_PHY
select USB_ROLE_SWITCH
comment "MUSB DMA mode"
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-05 23:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-05 23:57 [PATCH] usb: musb: select GENERIC_PHY instead of depending on it Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®