From patchwork Sun Feb 5 02:12:27 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 52865 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1592611wrn; Sat, 4 Feb 2023 18:14:30 -0800 (PST) X-Google-Smtp-Source: AK7set/AdAis7EdhMmfxahOQcqjIBKcDtnFO/1PCVeFUVnwYIPbuboSzkO8dcfn/ZglY4LYh3m9K X-Received: by 2002:a17:907:2c63:b0:88d:f13e:cba3 with SMTP id ib3-20020a1709072c6300b0088df13ecba3mr17146695ejc.36.1675563270282; Sat, 04 Feb 2023 18:14:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675563270; cv=none; d=google.com; s=arc-20160816; b=ONtZuZNm8BhrIKThNpgN82Y7FlE0cxGFbvl24yrtRNas1mR12DbnPEJRpQQjP42naL p3iuHt8ryU5YThFwyoHCfpIwuuvSMqxF5wUMUcPLWcvtt9ob/qngaoqr5B4kN+2rmm7n CVU5aoy14c7N5YuBkOeEFhidIBex6tQrRdNF9XnEAnxIv2M5kNRhrLWbpJbx+Rd3SSZR NQplBNz6pvetCcocLtFjSlNN3Hbdj0LeV/vBVFNWGDK4SmeFThrUF1kXFBYmAw1nom7s c/3LztjIlbjdeH0+PQ+1LEu+DS0yhKLTYVnHesPyUeg9dt5dcWcexaL0kmrNhCnXP8y8 tuQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=TxjJOlkRD9KQJJ8RtFDJbVPO6vwF/VfUk2KQLMypAoU=; b=IrZ0UBXsQla5Fo5g7m57zZT6wUzjY7vD49G6JMqc6kKKfhF2BxmzpEDCcuToViz4Qj VIxAG9Xm3qi/wDRiDbmRjC1W9RR+63zMB4xJr3L9ODVQl3gkeucM75DcJA+0U2Zy1eXY qmB67rnmX3B1UQ/OYUYlqXUjO95Cz56aGJawDz6FE4uR+XZbjMN6kgn2GBlkse0o3ujv zT6h8BsZQyLf5rSd5F0F6rAfqy4PvID8aEPrp7D4q5pAJpcB3IYScTxYxuOscIZYwl8t jlvEPcl03QDk35osK4k2B2cCdQty7uqa3xpqnp2OKMRVNJJZ+2SS5LoM6B86zgedr/n/ w/PA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="KD/HbL8q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id eu24-20020a170907299800b0087bdacdb25esi7311793ejc.299.2023.02.04.18.14.06; Sat, 04 Feb 2023 18:14:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="KD/HbL8q"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229453AbjBECNe (ORCPT + 99 others); Sat, 4 Feb 2023 21:13:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229547AbjBECNc (ORCPT ); Sat, 4 Feb 2023 21:13:32 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FE2022DC8 for ; Sat, 4 Feb 2023 18:12:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675563160; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TxjJOlkRD9KQJJ8RtFDJbVPO6vwF/VfUk2KQLMypAoU=; b=KD/HbL8qKentFazK024FYXa5E35q4Iis3vuccryXkNuw2Yovk/HUl0qroeZ2oQ8g5T3a5W 6nCXtOgbtX0aor6gYFUSsQudDB1yQ8GWg58WAnn8GFfC7HGTJNEdz25AU9X4lOWU7y+pV4 xv55f159HGHUiVHV6UDhU9nW4wDTSC4= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-111-m52bfbjhNYaU0bk_IDHFPw-1; Sat, 04 Feb 2023 21:12:38 -0500 X-MC-Unique: m52bfbjhNYaU0bk_IDHFPw-1 Received: by mail-qt1-f199.google.com with SMTP id i5-20020ac813c5000000b003b86b748aadso4653399qtj.14 for ; Sat, 04 Feb 2023 18:12:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TxjJOlkRD9KQJJ8RtFDJbVPO6vwF/VfUk2KQLMypAoU=; b=6+VRH6KGG52LvC4YC+fth1gC6YBHI7Yw4l4BxlXS2i6tf+A9E10/11XEEIVyLO2d/S 5BBE2ngBms2IMMD0nS5BD8USce9+q6EdYFmXTl+n3Ygj2x4c6N3d8K9LxyW9dkKe28pP mJCnotcMTucP1VqgYLoTuQKtJL1lFCQk0i/KxeHEvuvwvy85GG8RfxyGkyFOv7O93WTg avU6c1pcBcWTNH3H40UOjImg1vTUftmsGHcf2iK8g7nG8bCA9gO3AnqALxHEfGiw/8OG HvNZ2hevWDAOLOUlHs6SIzuSvOe+GHbKAvuNg5Jwrx5QGZs1UqQ6YnSyLHQ0FHGFfsT5 nnBw== X-Gm-Message-State: AO0yUKUie9al6tV3TjgQ/WVT9sbfnwxQwkYQNlxEJuIxd7mNHYJFgaVH 3oEOptU9mfvhJSbdrVPYnyJ14YCZmBULAqz6EFOxB3eKwc4CI6DG+0IbOUqlzGNkzPG2dXFrzjN QzdFBmTWl8pZAKV5U7i6onea7 X-Received: by 2002:ac8:7dd3:0:b0:3b9:a777:3d9a with SMTP id c19-20020ac87dd3000000b003b9a7773d9amr28666316qte.44.1675563158498; Sat, 04 Feb 2023 18:12:38 -0800 (PST) X-Received: by 2002:ac8:7dd3:0:b0:3b9:a777:3d9a with SMTP id c19-20020ac87dd3000000b003b9a7773d9amr28666302qte.44.1675563158283; Sat, 04 Feb 2023 18:12:38 -0800 (PST) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id m15-20020ac85b0f000000b003a591194221sm4648646qtw.7.2023.02.04.18.12.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Feb 2023 18:12:37 -0800 (PST) From: Tom Rix To: gregkh@linuxfoundation.org, arnd@arndb.de, linus.walleij@linaro.org, artur.bujdoso@gmail.com, miquel.raynal@bootlin.com, colin.i.king@gmail.com, biju.das.jz@bp.renesas.com, tmaimon77@gmail.com Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] usb: host: USB_XHCI_RZV2M depends on USB_GADGET Date: Sat, 4 Feb 2023 21:12:27 -0500 Message-Id: <20230205021227.3017634-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756955431825786072?= X-GMAIL-MSGID: =?utf-8?q?1756955431825786072?= A rand config causes this link error ld: drivers/usb/host/xhci-rzv2m.o: in function `xhci_rzv2m_init_quirk': xhci-rzv2m.c:(.text+0x13): undefined reference to `rzv2m_usb3drd_reset' xhci_rzv2m_init_quirk build is controlled by USB_XHCI_RZV2M rzv2m_usb3drd_reset build is controlled by USB_RZV2M_USB3DRD USE_XHCI_RZV2M does select USB_RZV2M_USB3DRD, but USB_RZV2M_USB3DRD depends on USB_GADGET, so now does USE_XHCI_RZV2M. Signed-off-by: Tom Rix --- drivers/usb/host/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig index 2b80ce9587c1..2dd9e95a5b86 100644 --- a/drivers/usb/host/Kconfig +++ b/drivers/usb/host/Kconfig @@ -100,6 +100,7 @@ config USB_XHCI_RZV2M tristate "xHCI support for Renesas RZ/V2M SoC" depends on USB_XHCI_PLATFORM depends on ARCH_R9A09G011 || COMPILE_TEST + depends on USB_GADGET select USB_RZV2M_USB3DRD help Say 'Y' to enable the support for the xHCI host controller