Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1919723pxb; Thu, 16 Sep 2021 20:16:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCfnB2vpYKGgkBfUo+dLxd4wQmVeQvNEnhwfIt0gyGnqnii7spyfkaUcPx2ibBJS6CEu+M X-Received: by 2002:a17:906:d045:: with SMTP id bo5mr9817797ejb.461.1631848592885; Thu, 16 Sep 2021 20:16:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631848592; cv=none; d=google.com; s=arc-20160816; b=WbZWQmh2rTdMt+tC63kKziq/EIOyZOTfGaTK7OYfUo6PU7XO5u38HwSoiNRGF3MIxk 5yHwUlOO+5hULGcYKSjmW/B9JzQxduYvNzeSqgpw1uzGgIAjXZpMJPi9+BBF7mC8hF0d rBitzZ2S1oSH/KGns20b5RRbiZrelgYr9+o4lxe2r6WWVkd5bUaLvcC4iaTwcdTFqh0U g0D204C0uLuXLrOo6a87N8H8AzPsompJZqHOatZC1GSX4earQpTS3WwOxD9/KgvkvvyM LfTCHALtN6v/uFdK5zg4H4R91z1AMR01vPUHbBS+bxsFnOiLTU4uyo5ixyPnvM9fyeSj YNEQ== 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=x6rJ3t9kuD+C1sD4XuUh7CoNtfVy/hfOo9o8Pn2tRNk=; b=W2N12Vf+OkTYHLGxyGVSX+l2mCvXiBWHkwCoXblg00ytQNS1ApTwzjfN2EYwXDuCO2 NxNHazJRYkNAeQ1Z9oEqFuVKmJhPVj5ux3FnIKw3tb8roob0Xvn1gqqJduKBtwlTBgIu s/DBL45HROUnV34m50XWfNQ49VWydTNuSckYAyGIOn94jKWo4B1ecoqQi0U01V9wQ10C GaU8q3FQiCwCjhkScku75V7wVSm+heJRr/p20YlrPqh50mNsTaiEQQtuhHGkU8LhxD6g /8cBH3EZNRWzDsGTmQRS2SL3fZZN7hR0l90W9wakd8Auw4CTbqbR9dZQMGNVcmVNMe/t g/Xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LTG2jqNZ; 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 bz6si5624096ejc.374.2021.09.16.20.16.07; Thu, 16 Sep 2021 20:16:32 -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=LTG2jqNZ; 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 S1348465AbhIPRc1 (ORCPT + 99 others); Thu, 16 Sep 2021 13:32:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:44338 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348029AbhIPRWu (ORCPT ); Thu, 16 Sep 2021 13:22:50 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9252361A3D; Thu, 16 Sep 2021 16:43:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631810600; bh=e0YyQ89vhZJrfRip3kDvSsTUPtWMNrFtRZ/S2IQUvJ0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LTG2jqNZmGOUtclwg9gDVwqFT78oaIILLQu6WJerQlGyrTZdd89wR5kW9C9XrIMAR oSWRAw59sD5H5VCjVDVn4sRzNnujHXJvd5PUEFWrO46NY8+6NQtZsulgnVd1mV5C74 5qL7/Etp9Jl741Loflzq30hbn/+IeVaDc9jCS8Bc= 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.14 168/432] ASoC: atmel: ATMEL drivers dont need HAS_DMA Date: Thu, 16 Sep 2021 17:58:37 +0200 Message-Id: <20210916155816.434498603@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155810.813340753@linuxfoundation.org> References: <20210916155810.813340753@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 ec04e3386bc0..8617793ed955 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