lkml.org 
[lkml]   [2020]   [Jan]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.19 635/639] usb: dwc3: Allow building USB_DWC3_QCOM without EXTCON
    Date
    From: Marc Gonzalez <marc.w.gonzalez@free.fr>

    [ Upstream commit 77a4946516fe488b6a33390de6d749f934a243ba ]

    Keep EXTCON support optional, as some platforms do not need it.

    Do the same for USB_DWC3_OMAP while we're at it.

    Fixes: 3def4031b3e3f ("usb: dwc3: add EXTCON dependency for qcom")
    Signed-off-by: Marc Gonzalez <marc.w.gonzalez@free.fr>
    Cc: stable <stable@vger.kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    drivers/usb/dwc3/Kconfig | 6 ++++--
    1 file changed, 4 insertions(+), 2 deletions(-)

    diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
    index 1a0404fda596b..5d22f4bf2a9fa 100644
    --- a/drivers/usb/dwc3/Kconfig
    +++ b/drivers/usb/dwc3/Kconfig
    @@ -52,7 +52,8 @@ comment "Platform Glue Driver Support"

    config USB_DWC3_OMAP
    tristate "Texas Instruments OMAP5 and similar Platforms"
    - depends on EXTCON && (ARCH_OMAP2PLUS || COMPILE_TEST)
    + depends on ARCH_OMAP2PLUS || COMPILE_TEST
    + depends on EXTCON || !EXTCON
    depends on OF
    default USB_DWC3
    help
    @@ -113,7 +114,8 @@ config USB_DWC3_ST

    config USB_DWC3_QCOM
    tristate "Qualcomm Platform"
    - depends on EXTCON && (ARCH_QCOM || COMPILE_TEST)
    + depends on ARCH_QCOM || COMPILE_TEST
    + depends on EXTCON || !EXTCON
    depends on OF
    default USB_DWC3
    help
    --
    2.20.1


    \
     
     \ /
      Last update: 2020-01-24 12:38    [W:3.519 / U:0.860 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site