Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5328940ybl; Tue, 14 Jan 2020 07:12:47 -0800 (PST) X-Google-Smtp-Source: APXvYqxcERMkF+s1t3W8jNP10sRX0t8Tp6goD1XHfYixi5TWeFKeVgzIzUsMbHtr1PXO4UOz/RQZ X-Received: by 2002:a9d:6f85:: with SMTP id h5mr17535888otq.19.1579014767855; Tue, 14 Jan 2020 07:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579014767; cv=none; d=google.com; s=arc-20160816; b=k+e0aBAXhE3AMNQLTr1GN5sXDZMvr2nCJV2w5g3JHo12gqZVs/lsn2PvvbK9LtYprv BdBQ51uBSk/8bwVkoiqK9FKxmMGc4qVLRjkwB5+FF8rhes2ZAfSLh4k5BqVvR0973mMr G8VkBbhWYFUyEPdcjsykti8o7kp7FwR5clJKFs8y8ML77ZhcnftnZpKsajhOWwQ5Vehp j/vPM7Cz/vIkSVirhq+4NXU7QbKNm+8Dxjh0gieQUZ4gG/qOxd3v2FrqtK61XaKaj3Sh pFMst7DaGGTLp+aU8QyGzfgE11wrADrLJATJBiGjkUOuGp2Nw0DlrO5RBmrH4PbxKar7 K7lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=B2ewmIhlXb5TUpXO1HRhjHb7LAbvkZY4Dg5n/fEb2G0=; b=l7CJM5ww7oj1CutmnKS+BnqDWohsnpytBjSsB21qpIdP7fiU0q1P5dlKOLWDTri5Lf ViD9OcgBJpDp/lq09OldRL64bHNMhqio4GvUSkDp5j7PAAT14VCD/WfQk54dSrRxu2K6 k4Vr1KZNrWMyHD3cNmqKruLPRZkdVTRdRvSxPZFzYqdaiCCf4NtT2HH8BLkiMoDXN7oe bAyBT0q4h6yz9MwRJrV2BGw5BiXO/ogo2er7zBsLypB2iiEVxlp/soGjKpD6OYZL5n+r R5wftJqkkhyvHw0KlZD98uqR3UVBZPc3xDy3yl6ffxJa1UGCvECowoYheRmJm74f3MTa Htxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=dZX2vwT5; 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=pass (p=REJECT sp=REJECT 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 j70si8077444oib.219.2020.01.14.07.12.35; Tue, 14 Jan 2020 07:12:47 -0800 (PST) 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; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=dZX2vwT5; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=cirrus.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729138AbgANPKv (ORCPT + 99 others); Tue, 14 Jan 2020 10:10:51 -0500 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:26060 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725904AbgANPKv (ORCPT ); Tue, 14 Jan 2020 10:10:51 -0500 Received: from pps.filterd (m0077474.ppops.net [127.0.0.1]) by mx0b-001ae601.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 00EFAoje004601; Tue, 14 Jan 2020 09:10:50 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=PODMain02222019; bh=B2ewmIhlXb5TUpXO1HRhjHb7LAbvkZY4Dg5n/fEb2G0=; b=dZX2vwT5WSvQrmeGK02lGFbNR2ZQy21oyM3GxMKMU46Hc4ucGZVKS+5IkOAl40vpXkNm 9PIMyZR6NRiGWwUc1dudt5FvIb1wXhxkBVvTCqAsIvA26Vy+MPhBLzQkNR/k8dU5+bLy Zuun6KBwWWMFEDSJVpgqc1ymwg+YDjfIDrm96MzDuOMSMyeq9qQJzNdKuWDPR9KWPwqd KaldwQPu+bGpQFbZddTavZ8+nKuMf7AWVvbqB/QF7HTaGOzUKPuD1VMdvF+qW4paqGY6 eAGFsKMBOiNYqw2R53vlo0NIzqInQ8WEo2rWeTd/PaAGpskQ4J53XAF9jGfJpXN1nCSx 5g== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex01.ad.cirrus.com ([5.172.152.52]) by mx0b-001ae601.pphosted.com with ESMTP id 2xfbntvps9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Tue, 14 Jan 2020 09:10:50 -0600 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1591.10; Tue, 14 Jan 2020 15:10:48 +0000 Received: from ediswmail.ad.cirrus.com (198.61.86.93) by EDIEX01.ad.cirrus.com (198.61.84.80) with Microsoft SMTP Server id 15.1.1591.10 via Frontend Transport; Tue, 14 Jan 2020 15:10:48 +0000 Received: from algalon.ad.cirrus.com (algalon.ad.cirrus.com [198.90.251.122]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id AFB442B1; Tue, 14 Jan 2020 15:10:48 +0000 (UTC) From: Charles Keepax To: CC: , Subject: [PATCH 1/3] mfd: cs47l15: Add missing register default Date: Tue, 14 Jan 2020 15:10:46 +0000 Message-ID: <20200114151048.20282-1-ckeepax@opensource.cirrus.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 mlxscore=0 malwarescore=0 suspectscore=1 priorityscore=1501 impostorscore=0 mlxlogscore=992 phishscore=0 spamscore=0 clxscore=1015 adultscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-1910280000 definitions=main-2001140130 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Accessory detect mode 1 is missing a default, add one to the table. Signed-off-by: Charles Keepax --- This patch can be applied separately from the other patches in the series, if needed. Thanks, Charles drivers/mfd/cs47l15-tables.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mfd/cs47l15-tables.c b/drivers/mfd/cs47l15-tables.c index f81b45336690e..3c77f0a24e9bd 100644 --- a/drivers/mfd/cs47l15-tables.c +++ b/drivers/mfd/cs47l15-tables.c @@ -112,6 +112,7 @@ static const struct reg_default cs47l15_reg_default[] = { { 0x000001dd, 0x0011 }, /* R477 (0x1DD) - FLL AO Control 11 */ { 0x00000218, 0x00e6 }, /* R536 (0x218) - Mic Bias Ctrl 1 */ { 0x0000021c, 0x0222 }, /* R540 (0x21C) - Mic Bias Ctrl 5 */ + { 0x00000293, 0x0080 }, /* R659 (0x293) - Accessory Detect Mode 1 */ { 0x00000299, 0x0000 }, /* R665 (0x299) - Headphone Detect 0 */ { 0x0000029b, 0x0000 }, /* R667 (0x29B) - Headphone Detect 1 */ { 0x000002a2, 0x0010 }, /* R674 (0x2A2) - Mic Detect 1 Control 0 */ -- 2.11.0