Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3407466rwa; Tue, 23 Aug 2022 04:23:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR4DIeqZ/Y0eYB5wryAt69ESzchpgw2HbzHfTxzHSmer6BAefCAY4Imzrw54kxT5RqGNYs4K X-Received: by 2002:a17:90a:304a:b0:1fa:d832:5aca with SMTP id q10-20020a17090a304a00b001fad8325acamr2821345pjl.16.1661253792934; Tue, 23 Aug 2022 04:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661253792; cv=none; d=google.com; s=arc-20160816; b=tnfcwFkBMScchNzpbdwzc2VryLMxK4NOzKAUB8glbIY1J1HcEvflw8e0wocieflbfQ IV5McMuGd7kaSlSSK9tW0UqwDkrR0X4TmoPTpkRryitsGk6KhoghLJJLk1z15bsAlDBX vDiZv9Dh/OLPpa/YfJFL/ljXIAVIr2HDmZM2I0gQQ98lPV7JWsWltjZbRmlgvfZCadfT s5MFOBg6HJFURwM3vqLDlkweflluzlICmPC1CBLU0cIKxL/Gfq89T2X5/NgN4UEJcjav klh63UcwyLBYLHB7wpsifqwVsJxl7FaoDFASBfH/OIn83iCZcCnpCT6TH2tXOQx+k8n9 clFg== 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=ZDVbq1ZioCH9pjP7ZLI6EnMKOk/dfy4M29M5O8LHPLA=; b=f/c7/tyrSh0iH3soZBn9dpmU97sr9Cfve5t/94jABifbWlNscawlrUcd+EOjNT0Sd+ 6d3j74Uo4yXPnMwTuLR4YPNLVlnxkFSIFYgJ2QWAJ36zjVrSpvgxYf7ewqpJzVuRMMcw vUh/m77cwvCJ6nkp5Ek3PjxBtPfq/C2hp+ioBo10A+TCbxwa+QBChQx0CuNaiIEDWiLP MeCVqeAQyYWOoBBg3G4jcw0wQu28jTW9EDk7q11lhImas6cdA903PlGXLbFf2/23MDk/ VgdQowy+imiEoNIZjiF0EZ0+77uOabsbGIxAt6Ge4TUhDm3gFNfSWa/vOmHTCUOtV2mC Kh0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RWExlh+f; 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 y68-20020a633247000000b0042ae1ee71e0si2611557pgy.125.2022.08.23.04.23.00; Tue, 23 Aug 2022 04:23:12 -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=RWExlh+f; 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 S244482AbiHWJtu (ORCPT + 99 others); Tue, 23 Aug 2022 05:49:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238966AbiHWJrW (ORCPT ); Tue, 23 Aug 2022 05:47:22 -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 899DA9C8CE; Tue, 23 Aug 2022 01:44:34 -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 1B12AB81C4A; Tue, 23 Aug 2022 08:44:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9733BC433B5; Tue, 23 Aug 2022 08:43:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661244239; bh=azrkHgPOnQs884ZEUGFFFLQT6q0lJFF7yhUhaKnD080=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RWExlh+fyrRuwMbIxKr/2863jpg53DDS8GIMBy9wXUfwpcEfm5lEdzncqx4HV/QIo GFBOPINW6aH4pFTiOpn3xO2LHWozElYjn+OK+n3cOFWu7ez00L8yU+0ggTBIkJUtR7 EyJFUNkXLA7b8cC7QT1I/ALs35hStapQ42VD9cYQ= 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.14 107/229] usb: gadget: udc: amd5536 depends on HAS_DMA Date: Tue, 23 Aug 2022 10:24:28 +0200 Message-Id: <20220823080057.502281644@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080053.202747790@linuxfoundation.org> References: <20220823080053.202747790@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 3291ea22853c..4c6eaf2a3b73 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