From patchwork Mon Dec 28 12:45:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 352669 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp9785293jai; Mon, 28 Dec 2020 06:25:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJxVGP8qpaiSAI02WxdugAjUCU09uZ6netUZUg4cP16xJsluyT2Yq3eo7FRI7CatTt2314Wa X-Received: by 2002:aa7:dcd0:: with SMTP id w16mr42661864edu.229.1609165503263; Mon, 28 Dec 2020 06:25:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609165503; cv=none; d=google.com; s=arc-20160816; b=mWWcpOxD1Zvyz2gz6zJRQci2tNNob+ypHOpMZj+m0pHDYnawBfzRNaAQfMOGgOauS/ X3Rl9otY0G+nSswmU+3ZuRzf3gZ/uf9TwcOopuiAxN5uTo3g2xlEvGsSfBd2YJvQg6N1 dke7SHr6GVCIYoCYLvM1hc+Cz75jC8gp1Jyue8kU8W54BPBQ8uCOJH8mroHX56LcoCdc luWcukZsgUSMFrcfQf9VeFlr6i7+Y+cPhgdlX/siRsfoi1QlF9NcfBQdhnP8k0Kw0GCq PFPowC5b6+vkAUIAxlIOIm2T8no4/4rCWiBG8Xp6+SLZLvZQVr1uYn3QSpOrWt+2d/q2 WNzA== 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=zSGhzdgNV1NAoGyAYDSDsmERXigl4DyToTKmdzYCv3A=; b=WvvKAhaCXTp6YxlnxnEGfbeX5ozrs1LGyXhfRDlV1SJkYkjBCnlZ/3CjpUpkoZAs3V mHIJZ+IqhSBIrYdJ3GROlIl3zbMpDhLmtnU34RBVYkQxlE3zuzRwXOkLjFYuPjInwxsK FZy5X2jfUx6njoWPZby5CEjL81l9zDCXgY2huXNMZ4cR2UEhQdt/MM34UQ3U+zJ579rt 8ICMp3O7RIoglkjNJU4rv8V/zTUyEo+y/8jJKpUzaxv8fJLhy7Rr3V6YZEZ3pMo1hPH1 aBsFrAm5iUn4QHgZgKHcv66300oPirPlcrS04MsFLlKOqVpdsSkq65eseClSbVZyiKPu 146g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nkiv5FJy; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 t23si22355626edc.387.2020.12.28.06.25.02; Mon, 28 Dec 2020 06:25:03 -0800 (PST) Received-SPF: pass (google.com: domain of stable-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=nkiv5FJy; spf=pass (google.com: domain of stable-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=stable-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 S2440769AbgL1OQ0 (ORCPT + 14 others); Mon, 28 Dec 2020 09:16:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:51038 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2440758AbgL1OP4 (ORCPT ); Mon, 28 Dec 2020 09:15:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 602BB206D4; Mon, 28 Dec 2020 14:15:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1609164915; bh=McX3MUokFltlpXln2uNqUzzILleat18UODOFSqGWzX8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nkiv5FJyHqtiZy2EenPfwkRxVItVJ1cjiCKodReSLMvScdukkAjkEUGNIWDUeIBQL 0OuWEyAeN+z34X4frFEgJuO6hmAqgUc3/KnvgbUiQRC+Rnuhcx9hpgoCTFlCXOJBzd GvLb6YhqrELj3YY9WRceyQAwm8ZaWsD8lEM94iwQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Codrin Ciubotariu , Mark Brown , Sasha Levin Subject: [PATCH 5.10 313/717] ASoC: atmel: mchp-spdifrx needs COMMON_CLK Date: Mon, 28 Dec 2020 13:45:11 +0100 Message-Id: <20201228125036.028019749@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201228125020.963311703@linuxfoundation.org> References: <20201228125020.963311703@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: Arnd Bergmann [ Upstream commit 29275309b0e32bb838d67158c6b6e687275f43e9 ] Compile-testing this driver on an older platform without CONFIG_COMMON_CLK fails with ERROR: modpost: "clk_set_min_rate" [sound/soc/atmel/snd-soc-mchp-spdifrx.ko] undefined! Make this is a strict dependency. Fixes: ef265c55c1ac ("ASoC: mchp-spdifrx: add driver for SPDIF RX") Signed-off-by: Arnd Bergmann Reviewed-by: Codrin Ciubotariu Link: https://lore.kernel.org/r/20201203223815.1353451-1-arnd@kernel.org Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/atmel/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig index bd8854bfd2ee4..142373ec411ad 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig @@ -148,6 +148,7 @@ config SND_MCHP_SOC_SPDIFTX config SND_MCHP_SOC_SPDIFRX tristate "Microchip ASoC driver for boards using S/PDIF RX" depends on OF && (ARCH_AT91 || COMPILE_TEST) + depends on COMMON_CLK select SND_SOC_GENERIC_DMAENGINE_PCM select REGMAP_MMIO help