From patchwork Thu Dec 18 16:37:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: 'Timothy Arceri' via Patchwork Forward X-Patchwork-Id: 42464 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CF4DF26C6B for ; Thu, 18 Dec 2014 16:38:26 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id bs8sf985848wib.6 for ; Thu, 18 Dec 2014 08:38:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:delivered-to:date:from:to :message-id:mime-version:cc:subject:precedence:reply-to:list-id :list-unsubscribe:list-archive:list-post:list-help:list-subscribe :content-type:content-transfer-encoding:errors-to:sender :x-original-sender:x-original-authentication-results:mailing-list; bh=PudpsX5uNxru6hOCNZTeCaQRa0BKDxFjTJ7xYFcSm0w=; b=XeDtFgXZrmb5NEK7Lajx5H+9DmYow/cXit+h/rXir8jgF3byBV+gKbx+HdTsf/8Y/m on8DRRa4QTUVT40aVsG7rULzTSHMlukM8HQWh7i0dZBSj40mgGYeW2a27+4/6t3EdME/ mSX1kNSbs618PVYlHQf9WhwHAQTQwJNV0B0VXJ1TL9e+hlCPsTaMYLO0IOG001yrqArB YwUkB9gc9jvgFjLG4NQgbQcdZMdeH+FHbH/DB2+CW41YDY+S9mzq72Aiiuw6mikKo/Ev ULcOTVWzzZPVxXPBEMtwEMNRoWmpgbI3SsH9y8jFLtNdl4erHVMbsckYUQnbqPtrR1WP 1qFg== X-Gm-Message-State: ALoCoQlZhHY8Hz3TLHQ4Rg/0PbKBQxkFDKnQy474rnMXaS3bHSQAc962InGdsYp5pTZGrW97PBp3 X-Received: by 10.194.176.106 with SMTP id ch10mr11817wjc.6.1418920706083; Thu, 18 Dec 2014 08:38:26 -0800 (PST) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.87.205 with SMTP id ba13ls1075855lab.66.gmail; Thu, 18 Dec 2014 08:38:25 -0800 (PST) X-Received: by 10.112.157.104 with SMTP id wl8mr3213535lbb.96.1418920705934; Thu, 18 Dec 2014 08:38:25 -0800 (PST) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com. [2a00:1450:4010:c03::235]) by mx.google.com with ESMTPS id vh9si7307971lac.134.2014.12.18.08.38.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 18 Dec 2014 08:38:25 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::235 as permitted sender) client-ip=2a00:1450:4010:c03::235; Received: by mail-la0-f53.google.com with SMTP id gm9so1303023lab.26 for ; Thu, 18 Dec 2014 08:38:25 -0800 (PST) X-Received: by 10.112.131.1 with SMTP id oi1mr3209654lbb.2.1418920705810; Thu, 18 Dec 2014 08:38:25 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.142.69 with SMTP id ru5csp1763357lbb; Thu, 18 Dec 2014 08:38:25 -0800 (PST) X-Received: by 10.180.36.162 with SMTP id r2mr25515102wij.75.1418920705050; Thu, 18 Dec 2014 08:38:25 -0800 (PST) Received: from alsa0.perex.cz (alsa0.perex.cz. [77.48.224.243]) by mx.google.com with ESMTP id r5si12880583wju.58.2014.12.18.08.38.24; Thu, 18 Dec 2014 08:38:24 -0800 (PST) Received-SPF: none (google.com: alsa-devel-bounces@alsa-project.org does not designate permitted sender hosts) client-ip=77.48.224.243; Received: by alsa0.perex.cz (Postfix, from userid 1000) id 0B095261A80; Thu, 18 Dec 2014 17:38:23 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on mail1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.2.4 Received: from alsa0.perex.cz (localhost [IPv6:::1]) by alsa0.perex.cz (Postfix) with ESMTP id DA93B261A0E; Thu, 18 Dec 2014 17:38:13 +0100 (CET) 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 6DFDF261A76; Thu, 18 Dec 2014 17:38:12 +0100 (CET) Received: from nm19-vm3.bullet.mail.ir2.yahoo.com (nm19-vm3.bullet.mail.ir2.yahoo.com [212.82.96.236]) by alsa0.perex.cz (Postfix) with ESMTP id 0EE25261A0E for ; Thu, 18 Dec 2014 17:38:05 +0100 (CET) Received: from [212.82.98.57] by nm19.bullet.mail.ir2.yahoo.com with NNFMP; 18 Dec 2014 16:38:05 -0000 Received: from [212.82.98.92] by tm10.bullet.mail.ir2.yahoo.com with NNFMP; 18 Dec 2014 16:38:05 -0000 Received: from [127.0.0.1] by omp1029.mail.ir2.yahoo.com with NNFMP; 18 Dec 2014 16:38:05 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 180575.46430.bm@omp1029.mail.ir2.yahoo.com X-YMail-OSG: tHc99b4VM1nnmswW6O8baTFk176ryW_tn8h8mtETmj8WKffeTUNItOTXJUwVNxj PTy0kS7hTITp3PuegyOPi5AgQUEMhg9nU9yIIkjviNablsVUz2j1sQA2PYSL5pNzIYpJBlQXvTkF RE0SA6xW5MZhCQQe3K6_JmN4gq4ZeJzPraedHpRGQtYt1kMYqb_UgbWx.9V_NgbTwR9nopO9wjGq _FPS.4yQHEgMHKBRZFN1zTluCFeP3sLeFi031xEkQK.RqxUrTIn0NL1FdJBTxho2ixFv4VAfVzrG PapibeH5pnXvg5QPx5Qdu7y7XZIftHpOeFIx7j8.XE7JcWc_diA7p9iwyHE8J5WzgnPZSwuFsqEZ Q0z_nLysdDBpQLSmLzxxPI8.HpFpdVx0MKuX3fgyoiGpVB4qx7D72yL1Bhl3uBr9tf.ruu_Whv2X MZYn3l7urdBVu7.da1D1_CAMZnrYlnzY.ILXNHdZiivVhfZPyfGX.XrjrjbbUdo_Hu8iwkhmKbcx_ Received: by 212.82.98.114; Thu, 18 Dec 2014 16:38:04 +0000 Date: Thu, 18 Dec 2014 16:37:51 +0000 (UTC) From: "'Aurelien Bouin' via Patchwork Forward" To: "patch@alsa-project.org" , "alsa-devel@alsa-project.org" Message-ID: <302670613.333771.1418920671738.JavaMail.yahoo@jws11119.mail.ir2.yahoo.com> MIME-Version: 1.0 Cc: Nicolin Chen , Mark Brown , Fabio Estevam Subject: [alsa-devel] [PATCH v2] ASoC: fsl_esai: Fix ESAI_xCCR_xDC_WIDTH definition X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Aurelien Bouin List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org X-Original-Sender: patch@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 2a00:1450:4010:c03::235 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=neutral (body hash did not verify) header.i=@; dmarc=fail (p=NONE dis=NONE) header.from=yahoo.fr Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 X-Original-From: Aurelien Bouin >From 9bcae891b8fe7a42cbc2cd88319f7bd4ab44d012 Mon Sep 17 00:00:00 2001 From: Aurelien BOUIN Date: Thu, 18 Dec 2014 15:14:53 +0100 Subject: [PATCH 1/1] According to the mx6 reference manual the TDC and RDC field of registers ESAI_TCCR and ESAI_RCCR have a width of 5 bits, not 4 Signed-off-by: Aurelien BOUIN diff --git a/sound/soc/fsl/fsl_esai.h b/sound/soc/fsl/fsl_esai.h index 91a550f..5e793bb 100644 --- a/sound/soc/fsl/fsl_esai.h +++ b/sound/soc/fsl/fsl_esai.h @@ -302,7 +302,7 @@ #define ESAI_xCCR_xFP_MASK (((1 << ESAI_xCCR_xFP_WIDTH) - 1) << ESAI_xCCR_xFP_SHIFT) #define ESAI_xCCR_xFP(v) ((((v) - 1) << ESAI_xCCR_xFP_SHIFT) & ESAI_xCCR_xFP_MASK) #define ESAI_xCCR_xDC_SHIFT 9 -#define ESAI_xCCR_xDC_WIDTH 4 +#define ESAI_xCCR_xDC_WIDTH 5 #define ESAI_xCCR_xDC_MASK (((1 << ESAI_xCCR_xDC_WIDTH) - 1) << ESAI_xCCR_xDC_SHIFT) #define ESAI_xCCR_xDC(v) ((((v) - 1) << ESAI_xCCR_xDC_SHIFT) & ESAI_xCCR_xDC_MASK) #define ESAI_xCCR_xPSR_SHIFT 8