From patchwork Sat Mar 11 12:57:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Axel Lin X-Patchwork-Id: 9618673 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 27C81602C2 for ; Sat, 11 Mar 2017 12:57:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 17F2328799 for ; Sat, 11 Mar 2017 12:57:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0A161287AA; Sat, 11 Mar 2017 12:57:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=no version=3.3.1 Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EAEDD28799 for ; Sat, 11 Mar 2017 12:57:36 +0000 (UTC) Received: from alsa0.perex.cz (localhost [127.0.0.1]) by alsa0.perex.cz (Postfix) with ESMTP id 6D6DA2666EC; Sat, 11 Mar 2017 13:57:32 +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 CE008266718; Sat, 11 Mar 2017 13:57:30 +0100 (CET) Received: from mail-pg0-f67.google.com (mail-pg0-f67.google.com [74.125.83.67]) by alsa0.perex.cz (Postfix) with ESMTP id 95F41265142 for ; Sat, 11 Mar 2017 13:57:24 +0100 (CET) Received: by mail-pg0-f67.google.com with SMTP id 77so13119062pgc.0 for ; Sat, 11 Mar 2017 04:57:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ingics-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=tZtI639Xx6md4CIBHt0qTu9obRDSAhNOoyST1a/W5/A=; b=ri1rcDShR9s7GZrP2fvkCDnntKs8oFGhkQ9Mx8aUDUz73Mdbw0vophp4nTHs1Z0Pzz M341xvcyDuy6z/dLRodRM126qeA7jwLM6sGk7SXMruazNBS2xDUWOwbLvkfG3XXo+GTN x9LYAaP2j3f6PJp/G1jgY+yPAb5n4OYJCOIRbyJG00BWKoImG54I+DSco11jaKboDElW f2ytvvZx96Pcxul5/216kqW2JGOa2yH2LDLXCtInVx056+Sxxr9jux0Y8UlFR3onLdik KptjrR65p1uATAykyhBT3OcUDX02oX0W/33ehFx3NLdSf17NOh1cQ0/pQ8ESiVReU8Xk 7P0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tZtI639Xx6md4CIBHt0qTu9obRDSAhNOoyST1a/W5/A=; b=loc04Kt+VaSStDNm2HFlnFQ77sO3RRRxX5001QvwWVuDGcEgP4AdaVKvQ6o9fbacqY 8Xlrze5ubL3Qcm/SkPZHsxITxGVa2vtI3yjTeHjCoxC0fhUjnEHYeBe32MPouuY9tzsg f3R2t77hCF4UFpzkssm00yC+nGUgndfAI6sLoupq4hWE+0n3h6yhJkUr/tEzXticxBeK 5S+O9BWFNTDyrm55qN5/+PhjYfN0Gh0r1IqZuGufnrD1eF1HaSJ/OiMoIFvjsB3JQLJ+ 6XiU7xcBi/YvZLHsgbI6jNKXKp3+WKNB8sS9ygPtY+E6B0ds0Lg9EEifnkfHMKoRLuOf VMmA== X-Gm-Message-State: AMke39mvDupO8gCBQyZjFmVAsFcliXbrIT9GEpQrZzDL5SQj7NFnW7MsR/bBUDj7j8ZPmw== X-Received: by 10.84.218.1 with SMTP id q1mr33293993pli.104.1489237043062; Sat, 11 Mar 2017 04:57:23 -0800 (PST) Received: from localhost.localdomain (223-136-212-96.EMOME-IP.hinet.net. [223.136.212.96]) by smtp.gmail.com with ESMTPSA id p6sm24389539pgn.40.2017.03.11.04.57.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Mar 2017 04:57:22 -0800 (PST) From: Axel Lin To: Mark Brown Date: Sat, 11 Mar 2017 20:57:07 +0800 Message-Id: <20170311125707.14309-1-axel.lin@ingics.com> X-Mailer: git-send-email 2.9.3 Cc: Brian Austin , alsa-devel@alsa-project.org, Axel Lin , Liam Girdwood , Paul Handrigan Subject: [alsa-devel] [PATCH] ASoC: cs35l35: Fix display revision id 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 Signed-off-by: Axel Lin Acked-by: Paul Handrigan --- sound/soc/codecs/cs35l35.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c index 260ed42..9c82e5e 100644 --- a/sound/soc/codecs/cs35l35.c +++ b/sound/soc/codecs/cs35l35.c @@ -1468,7 +1468,7 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client, dev_info(&i2c_client->dev, "Cirrus Logic CS35L35 (%x), Revision: %02X\n", devid, - ret & 0xFF); + reg & 0xFF); /* Set the INT Masks for critical errors */ regmap_write(cs35l35->regmap, CS35L35_INT_MASK_1,