{"id":805549,"url":"http://patchwork.ozlabs.org/api/1.2/patches/805549/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/patch/1503592220-8960-1-git-send-email-yamada.masahiro@socionext.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.2/projects/18/?format=json","name":"U-Boot","link_name":"uboot","list_id":"u-boot.lists.denx.de","list_email":"u-boot@lists.denx.de","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1503592220-8960-1-git-send-email-yamada.masahiro@socionext.com>","list_archive_url":null,"date":"2017-08-24T16:30:20","name":"[U-Boot] usb: dwc3: fix Kconfig dependency to accept host driver in drivers/usb/dwc3","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"bc8ca895455be5a53529450e2146414913e709c0","submitter":{"id":65882,"url":"http://patchwork.ozlabs.org/api/1.2/people/65882/?format=json","name":"Masahiro Yamada","email":"yamada.masahiro@socionext.com"},"delegate":{"id":1699,"url":"http://patchwork.ozlabs.org/api/1.2/users/1699/?format=json","username":"marex","first_name":"Marek","last_name":"Vasut","email":"marek.vasut@gmail.com"},"mbox":"http://patchwork.ozlabs.org/project/uboot/patch/1503592220-8960-1-git-send-email-yamada.masahiro@socionext.com/mbox/","series":[],"comments":"http://patchwork.ozlabs.org/api/patches/805549/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/805549/checks/","tags":{},"related":[],"headers":{"Return-Path":"<u-boot-bounces@lists.denx.de>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=lists.denx.de\n\t(client-ip=81.169.180.215; helo=lists.denx.de;\n\tenvelope-from=u-boot-bounces@lists.denx.de;\n\treceiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=nifty.com header.i=@nifty.com\n\theader.b=\"qQ3jdqAP\"; dkim-atps=neutral"],"Received":["from lists.denx.de (dione.denx.de [81.169.180.215])\n\tby ozlabs.org (Postfix) with ESMTP id 3xdVCl1q54z9sDB\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 25 Aug 2017 02:30:57 +1000 (AEST)","by lists.denx.de (Postfix, from userid 105)\n\tid 5F305C21E3A; Thu, 24 Aug 2017 16:30:47 +0000 (UTC)","from lists.denx.de (localhost [IPv6:::1])\n\tby lists.denx.de (Postfix) with ESMTP id CB3E6C21DB9;\n\tThu, 24 Aug 2017 16:30:44 +0000 (UTC)","by lists.denx.de (Postfix, from userid 105)\n\tid C41D1C21DB9; Thu, 24 Aug 2017 16:30:43 +0000 (UTC)","from conuserg-07.nifty.com (conuserg-07.nifty.com [210.131.2.74])\n\tby lists.denx.de (Postfix) with ESMTPS id 68228C21DA9\n\tfor <u-boot@lists.denx.de>; Thu, 24 Aug 2017 16:30:42 +0000 (UTC)","from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp\n\t[122.131.185.176]) (authenticated)\n\tby conuserg-07.nifty.com with ESMTP id v7OGUMwx008732;\n\tFri, 25 Aug 2017 01:30:23 +0900"],"X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de","X-Spam-Level":"","X-Spam-Status":"No, score=0.0 required=5.0 tests=T_DKIM_INVALID\n\tautolearn=unavailable autolearn_force=no version=3.4.0","DKIM-Filter":"OpenDKIM Filter v2.10.3 conuserg-07.nifty.com v7OGUMwx008732","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com;\n\ts=dec2015msa; t=1503592223;\n\tbh=ZXjXDydVO2P9sIcdF5R8a8bE4I6tEH0G5pPl7aaKjyQ=;\n\th=From:To:Cc:Subject:Date:From;\n\tb=qQ3jdqAPZ8ECpYfg7Wu/1oZOa112uzklBOpMb5xErPX/E5899JL/331wEAZF9/liC\n\tGqBk4xELU37BoqvdRoeRnrhfTYPqYV9gIELBXyCfxFiZkcn2+sQXeA+mKoKWeA1WcB\n\tw2vXsDOYv2bpAwEMX27Nw9VDcMJGQlQtJke/0c6OPsSlOHhVEcfafYUuGwAPvui2oZ\n\tlPIQVwG3iFoTNelZtPG2cqPqqYOHRTMCw1Oa9VpOofPPTnT+4ztaD+Wwtzj5QoMqRc\n\thXmv6l5C0xS3jDedK1OyMpVRM34gWJfDMuj0GvxRmx93/etJu9LEaVcNIALWmAMDA1\n\tpLe+uZS75rSwg==","X-Nifty-SrcIP":"[122.131.185.176]","From":"Masahiro Yamada <yamada.masahiro@socionext.com>","To":"u-boot@lists.denx.de","Date":"Fri, 25 Aug 2017 01:30:20 +0900","Message-Id":"<1503592220-8960-1-git-send-email-yamada.masahiro@socionext.com>","X-Mailer":"git-send-email 2.7.4","Cc":"Marek Vasut <marex@denx.de>","Subject":"[U-Boot] [PATCH] usb: dwc3: fix Kconfig dependency to accept host\n\tdriver in drivers/usb/dwc3","X-BeenThere":"u-boot@lists.denx.de","X-Mailman-Version":"2.1.18","Precedence":"list","List-Id":"U-Boot discussion <u-boot.lists.denx.de>","List-Unsubscribe":"<https://lists.denx.de/options/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=unsubscribe>","List-Archive":"<http://lists.denx.de/pipermail/u-boot/>","List-Post":"<mailto:u-boot@lists.denx.de>","List-Help":"<mailto:u-boot-request@lists.denx.de?subject=help>","List-Subscribe":"<https://lists.denx.de/listinfo/u-boot>,\n\t<mailto:u-boot-request@lists.denx.de?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"base64","Errors-To":"u-boot-bounces@lists.denx.de","Sender":"\"U-Boot\" <u-boot-bounces@lists.denx.de>"},"content":"We see the choice of USB_DWC3_HOST / _GADGET in drivers/usb/dwc3/Kconfig,\nbut we can not choose USB_DWC3_HOST unless USB_GADGET is defined.\nThis is strange.\n\nLoosen the \"depends on\" and also move \"select USB_GADGET_DUALSPEED\" to\nthe correct place.\n\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n---\n\n drivers/usb/dwc3/Kconfig | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)","diff":"diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig\nindex e93398fe7c1c..7f2f400c09ce 100644\n--- a/drivers/usb/dwc3/Kconfig\n+++ b/drivers/usb/dwc3/Kconfig\n@@ -1,7 +1,6 @@\n config USB_DWC3\n \tbool \"DesignWare USB3 DRD Core Support\"\n-\tdepends on (USB && USB_GADGET)\n-\tselect USB_GADGET_DUALSPEED\n+\tdepends on (USB_HOST || USB_GADGET)\n \thelp\n \t  Say Y here if your system has a Dual Role SuperSpeed\n \t  USB controller based on the DesignWare USB3 IP Core.\n@@ -21,6 +20,7 @@ config USB_DWC3_HOST\n config USB_DWC3_GADGET\n \tbool \"Gadget only mode\"\n \tdepends on USB_GADGET\n+\tselect USB_GADGET_DUALSPEED\n \thelp\n \t  Select this when you want to use DWC3 in gadget mode only,\n \t  thereby the host feature will be regressed.\n","prefixes":["U-Boot"]}