Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3272487rwb; Mon, 15 Aug 2022 22:55:43 -0700 (PDT) X-Google-Smtp-Source: AA6agR6U+HVLxsNhiOiSltqLhRNtwx58Sp4rqTcTyuohFiMlKk3xG47uBUgV2lLyhCuCSfdEafnz X-Received: by 2002:a17:907:7245:b0:732:f72f:44e3 with SMTP id ds5-20020a170907724500b00732f72f44e3mr11916692ejc.503.1660629343337; Mon, 15 Aug 2022 22:55:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660629343; cv=none; d=google.com; s=arc-20160816; b=Nb9NZMy8LlcTplHvHJ7dz1m9XPMa2Lj+tUndJaaBnZ3PgpQ/WenEFitZg1mTog+/H0 tE+rkvUQcw+UBmo2q8pPLt0jtwfDnMMpSZZFp//8KM07wjeeLfxjznx+faDEFqSnYKb4 +XtNyn3egbTlV/h1q2dB/DOLuuHWBk9H8WqPSl0MJBiCH9JNz5g72bgb1G2SNfktWs1Z DmXC7TPP3Gl+MsBFWCyffeB0kHtZcvQSOrxcglDbabG0Jcsfthv5m/e0OS6L0KCb39Ao V3sTd2M7NzIr5HEJRVLz1BP110/jsoU+ArpNajxgr6ufa1EyFoTnwWwoFWqqJ25dillE 7SHQ== 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=0tUiqHSMomQTQ01yX5XHSth1ySfz1Icos8LgENKyhEg=; b=Tdf8KgHWqV3aKC9LCsXiKce3VCFMHSsVglH2AFB/Tc4CilLRyCF8/eAgw+cXtOCWbN XiZCrab7Rupe8RpBSuAOman4jxfcMg9mRfghwQyaniGKxOBJDqwfSU5hp/qntc0APuwp fv7uTulhqCke9ARtcuzWg2zLclUArG5XnT4zbXVwFSvnkO1dB7hCk/0iFCOnLcetK+cJ 4H06fIw3cNfHU/6w1oBPoL0l8Qf8VN7sEK7dSuyGn44FQuRBH4M5T0IkXSKPBz3DRfF5 7oDbhBshvGKyMVKd25UxtYNfnqHm+d9wjzyJMvl6hnId+6lrozg+yabnk8qxxA7Gf63B aElw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=mAL9W0jV; 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 f25-20020a170906495900b007311135dc53si7846642ejt.809.2022.08.15.22.55.18; Mon, 15 Aug 2022 22:55:43 -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=mAL9W0jV; 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 S231770AbiHPEn7 (ORCPT + 99 others); Tue, 16 Aug 2022 00:43:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42360 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232085AbiHPEkt (ORCPT ); Tue, 16 Aug 2022 00:40:49 -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 7D052A61EB; Mon, 15 Aug 2022 13:32:57 -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 CACB9B8113E; Mon, 15 Aug 2022 20:32:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2ACA2C433D6; Mon, 15 Aug 2022 20:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660595574; bh=TAuUMR7MhN059r8wH39ZJ2WwqdyBclsgrNGwmEPdtag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mAL9W0jV+/8gMBTQSOs+hPIH0h39Oc7YLwHl5SUUUwdZbobaftsA6Num183b8R/1V ZG5AtDBH+FXjoS23dSZf1FjZ7T+A1455FimSmkIsFQRZBRC9tKApQKusUz6g09aAw5 euJbPionPTwa8toS4a1InQBdwQ7SEyn8/NvrRCDc= 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 5.19 0808/1157] usb: gadget: udc: amd5536 depends on HAS_DMA Date: Mon, 15 Aug 2022 20:02:44 +0200 Message-Id: <20220815180511.816097398@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 69394dc1cdfb..2cdd37be165a 100644 --- a/drivers/usb/gadget/udc/Kconfig +++ b/drivers/usb/gadget/udc/Kconfig @@ -311,7 +311,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