Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1700828pxb; Thu, 16 Sep 2021 13:20:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxuK5eoMBQRGPMS1e173XpiMua6Tu9WBZrhsyv1ZUHwEn1KwKf8E6IHWrjpeMEOTzBlVgWP X-Received: by 2002:a05:6e02:ef4:: with SMTP id j20mr5462021ilk.294.1631823657569; Thu, 16 Sep 2021 13:20:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631823657; cv=none; d=google.com; s=arc-20160816; b=o1PwB3BoNj+0H98pxMwO/YcEutE96Y0WKr5z0xR3W01fF8bBsS5xjRbUQZBUep8sgO KaBtzvu6BJPus8WyA6EYE8e26yXjdNjE2LV7Iq7HB7VXldxlGlW6yZRZJ0e9vgPBRQmc DMNqOLDjCOhrQ2E5qEwFyP2mo5cuPrqM7+Uzvyt26cbSVE3ilqwZ2lZXE/M5jeN34pcV XVk1zfWGMHrlgYlJa6A3SsGd8A2fRGCgJ/3ipDjipRMXcpU/C55ZIXOTvAM48AIMRatt UxnyUJhq2L5MYO9AAtygCHjt3R66I9/Sekk3lyRoKrrhk1oVImqM5eEv/hOQ477oA7bN FVeQ== 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=AN1wwKNZ3lPpwsoEp1Jrh9J6/xvIM1c69ZDMXzWUQWY=; b=eimWxMpqC7/wSpP2mr60JmSxubdCrTYl2LJg80NJo0gGQd45Rc2hjepGB6QVkvB5cg PkkMiH3eGGHrs3z5P4465kKZ0gO3jhVrFb8ZrAfHX1j7TTyEX1hUs76/WHM7Qv2FFhvI /gWTEQ02e/DLWtP3p4PFx7I/ZMffH2s4vOYvEZLL7+UVHZbFE1+/xzgK0zrLOmrbXqUc UlXmiQUxIZnQB4TqzowcmILwwsDeUzUbMBZ4qoCjgH1dhyx6mplnlvCe6VQtZTv9xrd7 WdHGg419z01brCY7EfMWxKD34+jyuQel+n445b6X00k1Ar8rdla/juY8XWFOdWPUhQOC 0efQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VHj2DHfX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 5si676617ilx.124.2021.09.16.13.20.45; Thu, 16 Sep 2021 13:20:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=VHj2DHfX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S240902AbhIPQYB (ORCPT + 99 others); Thu, 16 Sep 2021 12:24:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:48684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237200AbhIPQNA (ORCPT ); Thu, 16 Sep 2021 12:13:00 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 576C461381; Thu, 16 Sep 2021 16:09:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808581; bh=9apz7idIxDy+44QrOdSGvr+lOz8rYBuGfzSTpeH8J1o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VHj2DHfXUU2IRvRBqA37w4/ltmWAevMnWTiXEngekEBb5rcsuWjES7kwKdJ2NnmnO +OqF/1UfsBzMwjpPCOuMuBko8vo/sabLiPKwwExB/kBD+8N4feTdlFiS9rShyyj6gr Ya7SIlqrXuK9BgCpoNefVGEnJO93YLT7qs73hZmk= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Codrin Ciubotariu , Alexandre Belloni , Mark Brown , Sasha Levin Subject: [PATCH 5.10 112/306] ASoC: atmel: ATMEL drivers dont need HAS_DMA Date: Thu, 16 Sep 2021 17:57:37 +0200 Message-Id: <20210916155757.895547495@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap [ Upstream commit 6c5c659dfe3f02e08054a6c20019e3886618b512 ] On a config (such as arch/sh/) which does not set HAS_DMA when MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends on HAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported. Fix the following kconfig warnings: WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && HAS_DMA [=n] Selected by [m]: - SND_ATMEL_SOC_SSC [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] - SND_ATMEL_SOC_SSC_PDC [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m] WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_SSC_PDC Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m] && HAS_DMA [=n] Selected by [m]: - SND_AT91_SOC_SAM9G20_WM8731 [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && (ARCH_AT91 || COMPILE_TEST [=y]) && ATMEL_SSC [=m] && SND_SOC_I2C_AND_SPI [=m] WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_SSC Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && HAS_DMA [=n] Selected by [m]: - SND_ATMEL_SOC_SSC_DMA [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m] WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_SSC_DMA Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m] && HAS_DMA [=n] Selected by [m]: - SND_ATMEL_SOC_WM8904 [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && (ARCH_AT91 || COMPILE_TEST [=y]) && ATMEL_SSC [=m] && I2C [=m] - SND_AT91_SOC_SAM9X5_WM8731 [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && (ARCH_AT91 || COMPILE_TEST [=y]) && ATMEL_SSC [=m] && SND_SOC_I2C_AND_SPI [=m] Signed-off-by: Randy Dunlap Reviewed-by: Codrin Ciubotariu Acked-by: Alexandre Belloni Link: https://lore.kernel.org/r/20210707214752.3831-1-rdunlap@infradead.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/atmel/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig index 142373ec411a..89210048e6c2 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig @@ -11,7 +11,6 @@ if SND_ATMEL_SOC config SND_ATMEL_SOC_PDC bool - depends on HAS_DMA config SND_ATMEL_SOC_DMA bool -- 2.30.2