From patchwork Sun Jun 15 23:39:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anssi Hannula X-Patchwork-Id: 4355551 Return-Path: X-Original-To: patchwork-alsa-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7F83ABEEAA for ; Sun, 15 Jun 2014 23:40:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BF5522024F for ; Sun, 15 Jun 2014 23:40:55 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.kernel.org (Postfix) with ESMTP id 9D63320221 for ; Sun, 15 Jun 2014 23:40:54 +0000 (UTC) Received: by alsa0.perex.cz (Postfix, from userid 1000) id A649126533D; Mon, 16 Jun 2014 01:40:53 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_DNS_FOR_FROM, UNPARSEABLE_RELAY autolearn=no version=3.3.1 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id C0F5F2652F4; Mon, 16 Jun 2014 01:40:18 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa0.perex.cz (Postfix, from userid 1000) id D4DA12652E7; Mon, 16 Jun 2014 01:40:15 +0200 (CEST) Received: from mail3.ippnet.fi (mail3.ippnet.fi [62.197.168.3]) by alsa0.perex.cz (Postfix) with ESMTP id D63602652E1 for ; Mon, 16 Jun 2014 01:40:06 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail3.ippnet.fi (Postfix) with ESMTP id DB18F5D790; Mon, 16 Jun 2014 02:41:46 +0300 (EEST) X-Virus-Scanned: amavisd-new at kemia.fi Received: from mail3.ippnet.fi ([127.0.0.1]) by localhost (kone16815.ippnet.fi [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id T2Xn6IfqCIJW; Mon, 16 Jun 2014 02:41:42 +0300 (EEST) Received: from webmail.tpnet.fi (webmail.tpnet.fi [62.106.63.33]) by mail3.ippnet.fi (Postfix) with ESMTP id C1E645D630; Mon, 16 Jun 2014 02:41:39 +0300 (EEST) Received: from mail.onse.fi (host-109-204-178-176.tp-fne.tampereenpuhelin.net [109.204.178.176]) by webmail.tpnet.fi (Postfix) with ESMTP id DAF5C2073F; Mon, 16 Jun 2014 02:39:58 +0300 (EEST) Received: by mail.onse.fi (Postfix, from userid 501) id 93CED40524; Mon, 16 Jun 2014 02:39:58 +0300 (EEST) From: Anssi Hannula To: Shawn Guo Date: Mon, 16 Jun 2014 02:39:44 +0300 Message-Id: <1402875585-29025-1-git-send-email-anssi.hannula@iki.fi> X-Mailer: git-send-email 1.8.4.5 Cc: alsa-devel@alsa-project.org, Mark Brown , linux-arm-kernel@lists.infradead.org, Nicolin Chen Subject: [alsa-devel] [PATCH 1/2] ARM: dts: imx6: remove wrong spdif rxtx2 clock X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Virus-Scanned: ClamAV using ClamSMTP The rxtx2 clock of i.MX6 S/PDIF is currently set to "asrc" clock. However, according to SoC documentation, rxtx2 is connected to ASRC_EXT_CLK, a different external clock. Testing on Cubox-i system seems to confirm that: when fsl_spdif is forced to select rxtx2 as input clock, audio playback fails with an I/O error. Set rxtx2 to the dummy clock by default to prevent fsl_spdif from selecting it. Signed-off-by: Anssi Hannula Cc: Nicolin Chen Cc: Mark Brown --- This one seems clear enough. arch/arm/boot/dts/imx6qdl.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi index ce0599134a69..3aef9a2f5fda 100644 --- a/arch/arm/boot/dts/imx6qdl.dtsi +++ b/arch/arm/boot/dts/imx6qdl.dtsi @@ -181,7 +181,7 @@ <&sdma 15 18 0>; dma-names = "rx", "tx"; clocks = <&clks 197>, <&clks 3>, - <&clks 197>, <&clks 107>, + <&clks 197>, <&clks 0>, <&clks 0>, <&clks 118>, <&clks 0>, <&clks 139>, <&clks 0>;