Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1945839ybv; Fri, 14 Feb 2020 08:40:12 -0800 (PST) X-Google-Smtp-Source: APXvYqzmf+LnOvtfOXC6m8WD24aN2e8atmMox54JfE1JvQ4NP6ABLH9DJ5f9U5LisbBRxEPQAJli X-Received: by 2002:aca:1012:: with SMTP id 18mr2361299oiq.151.1581698412171; Fri, 14 Feb 2020 08:40:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581698412; cv=none; d=google.com; s=arc-20160816; b=yCswtAsCIyNPV2U8Lx0AfkQrcNIfm/RuFQ6b4GkEXlzejcUw02CnHz2r2KbjUuouN8 9F9Y0zFV7xunmPAnBVHaP68Ax81hAB7QSABiuZWmAsFz7UCC93C+L3yJ42DnZynHSTv/ obq28w7QeGhKbvDCFFmP9hRVEYrOykqzlM9WR2xSylLgZtDKwagb8735uKDD9jSW3SBW A5VjXq/f9gqHgT+0OEn5csV4YMSMAHHoqjDoDfjP/ltyCOp6+cpmGa8Uu1frYYYZIZyT 4J0ZDsm9QW6tqAxD19RAE1goQLe3IdMoHVLycZNxBVklFQnxjo9bsj1hWUUZfCXc5drh PUHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6R1FbmOW3DdE9uJEodVPsC1LDts262zh4mfxHPTRKE8=; b=FObS1Ee06XZfzRSAtpAdSGy1y4R+30fv3OswIjTmAy1DywsYXK/yS9vQFxf9XszH/9 2b/KMU9VW0lTiPFl26mJzuUyUxXEIPnC6Qc8QGDN3IUnn3EejJHHFAm1CamzgdJF2N0n mFPtV5XNkTSeVJcuqi1eH7EIKT1eItpcy33Jp6jIKJ7en4z0iklcnXDr6Wpbl7K5D82h r862RWkQw0Gw2LW4Gm6tN5ff7LML7Ga+z2vijMSZo33KI8Z9Txw3m/KPRe6U4k6anDkF VQyXUPoskFGwl2FSwUhG+nSVvgZoFxey/yPhCjfMMovW2V0czNA1ZMmEMoH1nGc677lB lnUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dNztqH8a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o20si3056661otl.60.2020.02.14.08.40.00; Fri, 14 Feb 2020 08:40:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dNztqH8a; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2393898AbgBNQjM (ORCPT + 99 others); Fri, 14 Feb 2020 11:39:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:59402 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405573AbgBNQXR (ORCPT ); Fri, 14 Feb 2020 11:23:17 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2F1B24764; Fri, 14 Feb 2020 16:23:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1581697396; bh=dyJB4AbiRs8UTaYPM1R1ihsyd+1yCPfzHhcMjATqpkc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dNztqH8a/7lg1iFB5xyvjVavR1YSNR2UCIRMFmotyqieeZCQci9O9YVkdMr3OV6tS H9ySMa6PiHr/8pZ1uZr4QEPR6TMzb+5ZyyOFqR9PA4/DYfBguR4shZXv5jlGHmVDQm wKC2QCzM/cR0kejBZnr466ZKJ2QMDoakOaN+YgIs= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Chen Zhou , Hulk Robot , Mark Brown , Sasha Levin , alsa-devel@alsa-project.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH AUTOSEL 4.9 090/141] ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m Date: Fri, 14 Feb 2020 11:20:30 -0500 Message-Id: <20200214162122.19794-90-sashal@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200214162122.19794-1-sashal@kernel.org> References: <20200214162122.19794-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen Zhou [ Upstream commit 8fea78029f5e6ed734ae1957bef23cfda1af4354 ] If CONFIG_SND_ATMEL_SOC_DMA=m, build error: sound/soc/atmel/atmel_ssc_dai.o: In function `atmel_ssc_set_audio': (.text+0x7cd): undefined reference to `atmel_pcm_dma_platform_register' Function atmel_pcm_dma_platform_register is defined under CONFIG SND_ATMEL_SOC_DMA, so select SND_ATMEL_SOC_DMA in CONFIG SND_ATMEL_SOC_SSC, same to CONFIG_SND_ATMEL_SOC_PDC. Reported-by: Hulk Robot Signed-off-by: Chen Zhou Link: https://lore.kernel.org/r/20200113133242.144550-1-chenzhou10@huawei.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/atmel/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig index 22aec9a1e9a49..838d03a138ca2 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig @@ -25,6 +25,8 @@ config SND_ATMEL_SOC_DMA config SND_ATMEL_SOC_SSC_DMA tristate + select SND_ATMEL_SOC_DMA + select SND_ATMEL_SOC_PDC config SND_ATMEL_SOC_SSC tristate -- 2.20.1