Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3408995rwa; Tue, 23 Aug 2022 04:24:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR4UGpsgjeFb9nwpiLlbZWoZXQk3o5ezTEBr7j+Xie+0LkNw6TLkLrcvonw/gLBPJI/VY6mb X-Received: by 2002:a17:902:b190:b0:172:e555:72e3 with SMTP id s16-20020a170902b19000b00172e55572e3mr9936576plr.74.1661253891104; Tue, 23 Aug 2022 04:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661253891; cv=none; d=google.com; s=arc-20160816; b=q+YWwb78UrR/mgCFkPw3LoxJ+BX0/OCrbm68dkARtzzHhitMjsDxYH/fb+jgVNs3zm Ola7mmRug/FJwWYvzPUbQuf125vuFA4rQ4RKPOZprrutJDsvjVly4vgRPpwPLpECZhen D96QOHjhclq2rU8RrPpU+X3n1FbEqaFZ1+h+DMW1dMhoWnQ//WZMaWkwyz2wUIHU5Ju1 Ol9+VmvcgnkTcKJOyP7+fHeRj3RBn5zkXNpaAGxkPZk4lOIFAUxSAKP+ydZzg1VfJg2Y aiAIHaVpxuxi6/XY+cdFJh4Vv5rQkF9XzLdlmeWSK36HGowHqZLPvBDF97PgyZdtiMvY F0rg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m12DU+P2NDVrmFLS0s20pYMymeDpTgOcoYMFSg4Y35U=; b=iAgqX1e5FEYxBhpqR/1sPZUBAghoF3Fn4OrTtXBkz1naGyvAwv/t0aiXjKrC43F4g+ Tx6Ltqhljj4g+4bx54WFIfrzkt+fWxHeF4C9CdrcHXDY32aPHb8hThMXSV4SbRfRm1ub 5Sm75QIa7FfstA1aZBsRO5LDkT7gJNOYyyIwbI3ozPZgUfNZGJZO2aRP98/XAgVxo8Yb wcnFxLEezG8uvAqPlgL1i1KBIzesGNXPZ+LUPmLpDfjD0t/nmcRkU0HKRPmfzk7EPz+8 Ddjkt0uI5vBOUA7fk8TFEWL5uEhAGR/QOSAgTS/JoJoUT2CH7WyJbcD2KTcvJM2Cizkb S2Lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="h/E991gO"; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r10-20020a639b0a000000b003fa8e644434si16793582pgd.39.2022.08.23.04.24.40; Tue, 23 Aug 2022 04:24:51 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b="h/E991gO"; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355797AbiHWKo0 (ORCPT + 99 others); Tue, 23 Aug 2022 06:44:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355112AbiHWKed (ORCPT ); Tue, 23 Aug 2022 06:34:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95887A5C65; Tue, 23 Aug 2022 02:06:59 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id A06D6B81C95; Tue, 23 Aug 2022 09:06:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 09B99C433B5; Tue, 23 Aug 2022 09:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661245616; bh=lNOn6QaHW8plvFamaLgqEtt38KC5LSM6pyNKcHZruUQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=h/E991gOiGGa09gYyIViMFa3mshBUa/ZA/SaaK4SLHktBddEvHuF+hpIVWsgMDIvg ZPR3XPEUgxyb5x3hGpF4NQatCo43FqINz1z/Hr1kSTn2lrLS6rm28Ry5gMfZgvALPz xhyA9Twofs/CONdEiY5s6oXLpHqpNT3wqgBfrauA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Raviteja Garimella , Felipe Balbi , linux-usb@vger.kernel.org, Randy Dunlap , Sasha Levin Subject: [PATCH 4.19 133/287] usb: gadget: udc: amd5536 depends on HAS_DMA Date: Tue, 23 Aug 2022 10:25:02 +0200 Message-Id: <20220823080104.909987977@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080100.268827165@linuxfoundation.org> References: <20220823080100.268827165@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Randy Dunlap [ Upstream commit 8097cf2fb3b2205257f1c76f4808e3398d66b6d9 ] USB_AMD5536UDC should depend on HAS_DMA since it selects USB_SNP_CORE, which depends on HAS_DMA and since 'select' does not follow any dependency chains. Fixes this kconfig warning: WARNING: unmet direct dependencies detected for USB_SNP_CORE Depends on [n]: USB_SUPPORT [=y] && USB_GADGET [=y] && (USB_AMD5536UDC [=y] || USB_SNP_UDC_PLAT [=n]) && HAS_DMA [=n] Selected by [y]: - USB_AMD5536UDC [=y] && USB_SUPPORT [=y] && USB_GADGET [=y] && USB_PCI [=y] Fixes: 97b3ffa233b9 ("usb: gadget: udc: amd5536: split core and PCI layer") Cc: Raviteja Garimella Cc: Felipe Balbi Cc: linux-usb@vger.kernel.org Cc: Greg Kroah-Hartman Signed-off-by: Randy Dunlap Link: https://lore.kernel.org/r/20220709013601.7536-1-rdunlap@infradead.org Signed-off-by: Greg Kroah-Hartman Signed-off-by: Sasha Levin --- drivers/usb/gadget/udc/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/Kconfig b/drivers/usb/gadget/udc/Kconfig index d83d93c6ef9e..33b5648b2819 100644 --- a/drivers/usb/gadget/udc/Kconfig +++ b/drivers/usb/gadget/udc/Kconfig @@ -309,7 +309,7 @@ source "drivers/usb/gadget/udc/bdc/Kconfig" config USB_AMD5536UDC tristate "AMD5536 UDC" - depends on USB_PCI + depends on USB_PCI && HAS_DMA select USB_SNP_CORE help The AMD5536 UDC is part of the AMD Geode CS5536, an x86 southbridge. -- 2.35.1