Received: by 2002:a05:6520:4d:b0:139:a872:a4c9 with SMTP id i13csp2565291lkm; Mon, 20 Sep 2021 18:51:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfkPYV0ih98vWmtfAMrFSr44RJnGqnGWHmpAppHbSEGQUisueAsOzEo+4Y68QD3IqgKbhB X-Received: by 2002:a02:cf39:: with SMTP id s25mr9699530jar.40.1632189088753; Mon, 20 Sep 2021 18:51:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632189088; cv=none; d=google.com; s=arc-20160816; b=pEihrQ7+9w/TZ+qyDzP6abmLaMVD8VGGeDdsKRrWEm1pCG3iBgf0jP2f36L0DIP/dR kd0MzLCENY3bK5rSLxet0tDNSWXzwK8y8NTWCUll8Of8shW5BASYwSV4zVcS/O8uzqHE wGa+Emv1MEgnGNJ5BEn/R4uL2pUw4BT6F22Roh3Q5rgvuUUZyibEA5Zn/Vzwn17ScH7M LVlIzOung13DU17G0EcK6LG44VExhy9wAP2DMnVGyjjyWN8M1hrnAdMIaIBVDdknz5ch gB9MyUVsPW36p1R1JBv2FzyHr+s6r6rcvPKStiFtJrBag9jNasId6L1AD8u6YfolDS3d CqEg== 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=G+M1WhJnJCD6fngAwrZeKfiDsx7MSK+KOuE1xcvpq8M=; b=Rt9Cnk+pz4GpUFtH1DESZTbJTG/enXrmjglJUkURyAKWE+fwH6Cswksus0Vb2xWvq1 Sat98Arm2sPDY5IEIzY8kNyjrknowyzhApQl8KxyYkSAOALCSSls71BPyNS9hsPbxyUX gDaUK1L+WCYEM0JjVSIn2Q6OMIx03YFkkKNIDRrQ5PAMmDgFwIKoFt0l5mZK1IoPzDUX FAPsjAo/UmbSmYE0vUYksID6PqkuXU+3kBsfCHTs1h5kB12y5i7rYTClFiaIiPovE68g TVsJwY1XsZ6CIy91kwBJ7mKlNKFn3PCPA51nUzoTEe3otJwf8jb1+RnRVfmYtbzc0+fe TuSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=xwVTcXY8; 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 h5si15628420jar.102.2021.09.20.18.50.50; Mon, 20 Sep 2021 18:51:28 -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=xwVTcXY8; 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 S1356374AbhITSLZ (ORCPT + 99 others); Mon, 20 Sep 2021 14:11:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:60150 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1358080AbhITSFZ (ORCPT ); Mon, 20 Sep 2021 14:05:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0926D6324D; Mon, 20 Sep 2021 17:17:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1632158258; bh=5gm8+Q0WBMKHzJEMCKBUkKc3rwr96lBZGwow22ejuoI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xwVTcXY847cwVUJy0eTh0xqOz7tqajl1L6h5Qza9pMJKLLEj7wyEhEpYTGl4ZVGJI aMhhRgQuZKUpSNZV/Y1jfQgcA8VN0k95EvvQ5CtD+YdSsuckTPX0OAzgVskPGe+H6b PWqP0Yj2R+wUuf0+WwS6EIwBHgRaXepAMJ9Gg0+g= 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.4 073/260] ASoC: atmel: ATMEL drivers dont need HAS_DMA Date: Mon, 20 Sep 2021 18:41:31 +0200 Message-Id: <20210920163933.611864743@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210920163931.123590023@linuxfoundation.org> References: <20210920163931.123590023@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 71f2d42188c4..51e75b781968 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