From patchwork Tue Oct 8 10:40:33 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Majunath Goudar X-Patchwork-Id: 3002681 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id EDB709F1E1 for ; Tue, 8 Oct 2013 10:41:20 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D398E20113 for ; Tue, 8 Oct 2013 10:41:19 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D9F262011C for ; Tue, 8 Oct 2013 10:41:17 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTUj4-0007yO-Gm; Tue, 08 Oct 2013 10:41:14 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTUj1-0002an-MG; Tue, 08 Oct 2013 10:41:11 +0000 Received: from mail-pa0-x22d.google.com ([2607:f8b0:400e:c03::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VTUiy-0002ZB-CW for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2013 10:41:09 +0000 Received: by mail-pa0-f45.google.com with SMTP id rd3so8644158pab.4 for ; Tue, 08 Oct 2013 03:40:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=XJ6RpUqmJJ0/cIkxRl/S+DKkrMQiyryih5i6i1RqThM=; b=ECrEca3BxnkBl8fb44Loeknt8bESGAXvAVZd5xQC4vaj2JPTwHJ4o/aqVLCkXkgsAf dyYExO3Ce8sgod3JTOdb8Av/ygovSP/10ZG+k0A+FhqTGvrzzsdzOci1BHEZBWeUbk3w SBuc0B+NC6LDqonUX2sAuHqs90+0zmalXP1a91aGSgMp0xDX30Fq/MYIY85HkTfN7rv0 LiatpheS02eaaNV7FQnhCX9z6QO/+mFExGGh+fXqJAjdHVrb+FmTyoaoK3x79Nyw0fXr M7oK4nEtegh30yzcGc+YEMCXtMR3p0oujUceBFzDW1ya/V1CJ+o83yklSCsDJwtz08JS mRMg== X-Received: by 10.68.215.38 with SMTP id of6mr1200253pbc.14.1381228846975; Tue, 08 Oct 2013 03:40:46 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id wp8sm39177546pbc.26.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 08 Oct 2013 03:40:46 -0700 (PDT) From: Majunath Goudar To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] SOUND/SPI: Fix "clk_round_rate" undefined reference error. Date: Tue, 8 Oct 2013 16:10:33 +0530 Message-Id: <1381228833-24082-1-git-send-email-csmanjuvijay@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131008_064108_544703_B964D27C X-CRM114-Status: GOOD ( 12.72 ) X-Spam-Score: 0.1 (/) Cc: nataraja.km@lge.com, Majunath Goudar , Dmitry Torokhov , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_DNSWL_MED, RCVD_IN_SORBS_WEB,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a COMMON_CLK dependency to configure the SND_AT73C213 for Atmel AT73C213 DAC driver. Without this patch, build system can lead to build failure. This was observed during randconfig testing, in which SND_AT73C213 was enabled w/o COMMON_CLK being enabled. leading to the following error: sound/built-in.o: In function `snd_at73c213_probe': :(.text+0x328c4): undefined reference to `clk_round_rate' make: *** [vmlinux] Error 1 Signed-off-by: Manjunath Goudar Cc: Dmitry Torokhov Cc: linux-input@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- sound/spi/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/spi/Kconfig b/sound/spi/Kconfig index e6485be..798d1ee 100644 --- a/sound/spi/Kconfig +++ b/sound/spi/Kconfig @@ -11,7 +11,7 @@ if SND_SPI config SND_AT73C213 tristate "Atmel AT73C213 DAC driver" - depends on ATMEL_SSC + depends on ATMEL_SSC && COMMON_CLK select SND_PCM help Say Y here if you want to use the Atmel AT73C213 external DAC. This