From patchwork Fri Sep 6 05:46:11 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: manjunath.goudar@linaro.org X-Patchwork-Id: 19798 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 965FB24869 for ; Fri, 6 Sep 2013 05:46:25 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id i13sf636220qae.7 for ; Thu, 05 Sep 2013 22:46:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=WwUj/SsOwlIwMic2qymS8/vjFAvY0CvXZBLO8IZ7BRw=; b=NW4SWZxVbn0yO3LY3+ikU6vWB9bGRdkJzzVGP0Tuwx0jHGIG/OorTMLbduHAl7NSrb vd04UQ8vwRoSNvrpniY7HTtJxIs1Gl7fSfUES2qjacXAfhRi8haWVeYfNq/18qCpp5RF IdeKFmM6eGdwZcKgBJ0Ycs0XO0qZOtbT6CVHv7nvUjoOESPPdKYxdMjYHAmL80EDG/P6 plZECYxGD0eynPa+G6mqvche+fvcjppLzRIStPAu6bqiyGDz4aS+7SvPqImgeso/zUgT bTJhs0N90IE+ZAvjq2D4INSzPi6tMTye5QS5V3Mj57k3/hoXA5jvEwrMqjdmGbWBp9Zk rMZQ== X-Received: by 10.236.189.37 with SMTP id b25mr293139yhn.48.1378446385277; Thu, 05 Sep 2013 22:46:25 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.15.198 with SMTP id z6ls785607qec.63.gmail; Thu, 05 Sep 2013 22:46:25 -0700 (PDT) X-Received: by 10.52.34.40 with SMTP id w8mr501902vdi.7.1378446385160; Thu, 05 Sep 2013 22:46:25 -0700 (PDT) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id gw1si251263vcb.137.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:46:24 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id i3so1868503vbh.12 for ; Thu, 05 Sep 2013 22:46:24 -0700 (PDT) X-Gm-Message-State: ALoCoQk8e9QARXg1PBI3Fir4p4UPNykcGbjCSqTHpTcUec+uVFWamTBpD+2zcw8ox5pz54DBNGbV X-Received: by 10.220.88.13 with SMTP id y13mr639013vcl.20.1378446384713; Thu, 05 Sep 2013 22:46:24 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp321131vcz; Thu, 5 Sep 2013 22:46:24 -0700 (PDT) X-Received: by 10.66.234.131 with SMTP id ue3mr1835419pac.35.1378446383741; Thu, 05 Sep 2013 22:46:23 -0700 (PDT) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx.google.com with ESMTPS id tl4si1616247pac.79.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:46:23 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.178 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.192.178; Received: by mail-pd0-f178.google.com with SMTP id w10so2822564pde.9 for ; Thu, 05 Sep 2013 22:46:23 -0700 (PDT) X-Received: by 10.68.252.33 with SMTP id zp1mr832058pbc.95.1378446383159; Thu, 05 Sep 2013 22:46:23 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id ry4sm2191045pab.4.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:46:22 -0700 (PDT) From: Manjunath Goudar To: linus.walleij@linaro.org Cc: dsaxena@linaro.org, manjunath.goudar@linaro.org, patches@linaro.org Subject: [PATCH] SOUND/SPI: Fix "clk_round_rate" undefined reference error. Date: Fri, 6 Sep 2013 11:16:11 +0530 Message-Id: <1378446371-5477-1-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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: Arnd Bergmann Cc: Deepak Saxena Cc: Linus Walleij 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