Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2178969yba; Wed, 3 Apr 2019 03:00:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyIO4ft83UgeZvCf1kHeDpn9/249c0QvWfNF4RnYd5OiRNA4R6H9bclzDabPRoKi8ehHXcB X-Received: by 2002:a63:d5f:: with SMTP id 31mr25180294pgn.208.1554285654716; Wed, 03 Apr 2019 03:00:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554285654; cv=none; d=google.com; s=arc-20160816; b=s08txGpaPeT7/1jnaFlBvXtY6bqrbL24L/GHPs/hU4ohSSjI0qj2nT+cLpZA6CrpEy OUGnfjn91ROfxGNxJKk6RJtwmLyNMv8KyFLSIeaRP8rhyuLuOkfjaSEt13MftNECXVLk mRmRxBOorZOewcu4teZqypYmxACMSc7FuGzchMC0/aubMaj/Ci4cOTou8I3PP9mYVbh9 OWejIHR2xJIZDpidNC9ly2U7FAqjDPilhezuu6Zvje5+HSe508glGMrH9Mp6jAfWbAU8 qHEXm8q2i2zt+9MwqAjKfhKakW4KZXIqRjM4XtKJwLhmzwPY4xictkrx8ScYI697UoU6 BAZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=kH8DyxBM4pJPQsdeodGkwR1vDFMaVlEakmdkh7Iz2kQ=; b=QlrgtH9kMVu/wPoL36EyG3pUy5jYg8s5NePOPIjCvnKJb4yhHGjCsLpomX5mFOqjd3 ZqQcd0p1JYu5y5xfbcNixx/rr3Cw1wHHttd/CT3HYTj/sT5na0RvRVcuQnH1T1p2EyjV Now/SASoVBW4G46XLzwYkoP3V5NLFOyc2PYqmQutti81Dc52BaYXe1G2ZsIXxs2FutE3 ocamq4Ag4o77xMdsfshhd2yT3Lb/bHPFrO3FE7BfRp+63OyqkD/Txg9zaSPeUEMrf9Yo JwjlqRk1Qt3b1cuhQQg9yND86VdHle2PTyS1/Bscb1VX52W3Vj3eAA7KuXAVkYD2CZfg 9ZEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e4si13632768pgn.237.2019.04.03.03.00.39; Wed, 03 Apr 2019 03:00:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726633AbfDCJ70 (ORCPT + 99 others); Wed, 3 Apr 2019 05:59:26 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:47050 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725935AbfDCJ7Y (ORCPT ); Wed, 3 Apr 2019 05:59:24 -0400 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x339xLYC000389; Wed, 3 Apr 2019 04:59:21 -0500 Authentication-Results: ppops.net; spf=none smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from mail1.cirrus.com (mail1.cirrus.com [141.131.3.20]) by mx0b-001ae601.pphosted.com with ESMTP id 2rm5n5snv2-1; Wed, 03 Apr 2019 04:59:21 -0500 Received: from EX17.ad.cirrus.com (unknown [172.20.9.81]) by mail1.cirrus.com (Postfix) with ESMTP id 867B1611C8B5; Wed, 3 Apr 2019 04:59:18 -0500 (CDT) Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EX17.ad.cirrus.com (172.20.9.81) with Microsoft SMTP Server id 14.3.408.0; Wed, 3 Apr 2019 10:59:17 +0100 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 8ECF2B2D; Wed, 3 Apr 2019 10:59:17 +0100 (BST) From: Charles Keepax To: CC: , Subject: [PATCH 2/2] mfd: cs47l90: Make DAC_AEC_CONTROL_2 readable Date: Wed, 3 Apr 2019 10:59:17 +0100 Message-ID: <20190403095917.6351-2-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20190403095917.6351-1-ckeepax@opensource.cirrus.com> References: <20190403095917.6351-1-ckeepax@opensource.cirrus.com> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=647 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1904030069 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ajit Pandey There is a second AEC loopback on cs47l90 so the registers for it should be readable. Signed-off-by: Ajit Pandey Signed-off-by: Charles Keepax --- drivers/mfd/cs47l90-tables.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mfd/cs47l90-tables.c b/drivers/mfd/cs47l90-tables.c index 77207d98f0cce..c040d3d7232a5 100644 --- a/drivers/mfd/cs47l90-tables.c +++ b/drivers/mfd/cs47l90-tables.c @@ -263,6 +263,7 @@ static const struct reg_default cs47l90_reg_default[] = { { 0x00000440, 0x003f }, /* R1088 (0x440) - DRE Enable */ { 0x00000448, 0x003f }, /* R1096 (0x448) - eDRE Enable */ { 0x00000450, 0x0000 }, /* R1104 (0x450) - DAC AEC Control 1 */ + { 0x00000451, 0x0000 }, /* R1104 (0x450) - DAC AEC Control 2 */ { 0x00000458, 0x0000 }, /* R1112 (0x458) - Noise Gate Control */ { 0x00000490, 0x0069 }, /* R1168 (0x490) - PDM SPK1 CTRL 1 */ { 0x00000491, 0x0000 }, /* R1169 (0x491) - PDM SPK1 CTRL 2 */ @@ -1692,6 +1693,7 @@ static bool cs47l90_16bit_readable_register(struct device *dev, case MADERA_DRE_ENABLE: case MADERA_EDRE_ENABLE: case MADERA_DAC_AEC_CONTROL_1: + case MADERA_DAC_AEC_CONTROL_2: case MADERA_NOISE_GATE_CONTROL: case MADERA_PDM_SPK1_CTRL_1: case MADERA_PDM_SPK1_CTRL_2: -- 2.11.0