Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3014074rwb; Mon, 15 Aug 2022 16:09:57 -0700 (PDT) X-Google-Smtp-Source: AA6agR4o+HXHqMZZ7QwHcNxZf8JslNqTezAut6CGX0o9GxEI6mMrajZJWBh3CwOc5urQWOI4NELP X-Received: by 2002:a17:907:738a:b0:730:6d62:4ec8 with SMTP id er10-20020a170907738a00b007306d624ec8mr11848095ejc.590.1660604997480; Mon, 15 Aug 2022 16:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660604997; cv=none; d=google.com; s=arc-20160816; b=QV9E6HbPk8CZtgq/wsvqTjd4UUc4lq2TczZ7NHH86lzfaSOyYsqb9j8jSlqaD9FT7j jydw4Y4i8nmYwwtq3n1ARPVFUDM31hcVMDsmQUERHUTWBnkqHQAoWiQCAt7xavKOH/SM cbPtDajEnMy43FiA8AhK/101mQG/5i2B+sAsQN4mRomzY7tRuCvGkGrMRHXcqNvzYsJ8 cZ0hVcHNuftmIHGY9nM+sSkBk4jZWBO2DHTPK9FWCaiycs/BF4OE3ml5bV2HiZcHXYCM JnlvJXszLypnAivAani1rt6XswZcyJnFbl+zPukxzjp9GlRf9D8om1mcW+f+8j5m9nBu hrtw== 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=WbnT7CuMw2S9uOjFITEDw7JySZYu0Coz4DEFjxxr9kzQJ6rP9UEvoO2XoXOQ7nPvts X15hF8tXkNZhV6GJujn2sQPATDiF1BGffOl/4O09tmtJH1IzN2u3Kj2EAdFPdi9VsJwV xytCRKK1QLaDhbmOE5Pdb4e40+kOtzrK3aBHI3//op1gWNXgD/zhgRuYA4HIJFdJ72e4 Z6u1wNRiyONfO1ebpXEf4Q/25vRbQ+gBfHFf4iRyk4Rm15KjfDG5xI84kX2XAPAgaptX N7t1cAwQm8hJkpcGvM5Iif8CkoNIt9Jem0pGHE0d5QFIcxqsFpkz7uLVa3s5TT2B4Jdf n88A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YzivLhGl; 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 gy19-20020a170906f25300b0073097bd94ebsi7015902ejb.473.2022.08.15.16.09.31; Mon, 15 Aug 2022 16:09:57 -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=YzivLhGl; 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 S1347791AbiHOWIh (ORCPT + 99 others); Mon, 15 Aug 2022 18:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346880AbiHOWEg (ORCPT ); Mon, 15 Aug 2022 18:04:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECC041156E9; Mon, 15 Aug 2022 12:37:18 -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 dfw.source.kernel.org (Postfix) with ESMTPS id E1DEC611E4; Mon, 15 Aug 2022 19:37:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB52DC433D6; Mon, 15 Aug 2022 19:37:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660592237; bh=TAuUMR7MhN059r8wH39ZJ2WwqdyBclsgrNGwmEPdtag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YzivLhGlUZhN+Sn6ztgxULTvC9i7vqjltNLis1xXBxy5qc6NXl/CNUfmO+yqH/lpH zlw6nDelCBmKnbFJDnOn6Fo+LKjDfQXiaYe0xbatAMJrshvwd6GypGI50vyRK/ErCK jYq8zGaoptloOr8Sw4qqbyHKXFp0BDLIjciPiALU= 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.18 0754/1095] usb: gadget: udc: amd5536 depends on HAS_DMA Date: Mon, 15 Aug 2022 20:02:33 +0200 Message-Id: <20220815180500.522087556@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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