Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp799065ybk; Wed, 13 May 2020 13:27:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzD28dLRlYW94WSGuvTaZKtjPb/ZEd8Gj/4HBPo49lTWz49DokH1Pe5DAqFAcsDBCpKvjB9 X-Received: by 2002:a17:906:6d90:: with SMTP id h16mr718633ejt.117.1589401629549; Wed, 13 May 2020 13:27:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589401629; cv=none; d=google.com; s=arc-20160816; b=oHiS/KKNppEVr88VNbESeF1/aKENs6IFqUjiH6RsJ5tPnvBw8pBohVEJ1zBjiMR0Zs y4GV+KmzrSjOCAh/sQFSYMv5uIkNq2BIn3WJ3aIp2zDLDjz+fJT3g814L9vyyCTe2QDY edZdqq9PmFLW9WktE8GvG4ufU0z7ZJ2h9g4TOfAXpBGaCs+HSvZUvo+jkP4CEohNd6QA qTFqB03zQu/FKswLEpdiUvRLHN8or76KmkwT+xU7kMvtuuzZrbe8CCkPA/HVI1h8M+/3 K7LC1r2tI1gPn1yTxvkFqxjQb7bXgHxnAflKcL4rSXYRyXA89Oit+UHFvh1UXFwACSgg 0hYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=SN0lZANT/vbXKgnyWwzZnLfQTVL/ShY4GaSPpGpVBkA=; b=hqVP0kgBGW9PNpdMDffH75/7dzOBumNCWuwVA5Wt/7rkxwb7/LxufDj33ltcbZKQb7 9TeabdNkuY2BgRVQV+Kp8fQZMEycM+rlEzM7tRhfj1pLuDoNRvkIrN8geD/WuWIWdIkZ TBnXZCwq+mVbhHcCt75JvE46OS4gRLLGYjxFdyzrOj2rUrjfJlo7oY4KxrYPfsJqcShZ UkOAoM2OiZehvj3GZHxdzDPaydIE8Q7TnXOPQJd7sT9SJbD5UCOgBc9vDALphtLN7MVz 8zN4+rgngQbyMqUicV3owZ6wc1RxYpkGrldc9dro3yh2JI1kjePubuuHbUs5Hx941Ix4 24FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=SiMG6Ja9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id dc9si470898ejb.370.2020.05.13.13.26.46; Wed, 13 May 2020 13:27:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@cirrus.com header.s=PODMain02222019 header.b=SiMG6Ja9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1732187AbgEMIWf (ORCPT + 99 others); Wed, 13 May 2020 04:22:35 -0400 Received: from mx0b-001ae601.pphosted.com ([67.231.152.168]:52342 "EHLO mx0b-001ae601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726092AbgEMIWf (ORCPT ); Wed, 13 May 2020 04:22:35 -0400 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 04D8G4hp007414; Wed, 13 May 2020 03:21:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cirrus.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=PODMain02222019; bh=SN0lZANT/vbXKgnyWwzZnLfQTVL/ShY4GaSPpGpVBkA=; b=SiMG6Ja9eXiMz6KeoWCSkLcdZXiCb+S/pnWR9tGUM38jdOksN8I8YnnZehotk5woAzrY 0NN4hSkhrWxXMWUF0xbxXKXVuMUiABognHDvtwk/+nh3HzLC3/C6MplbY/LiVyUxM8FF zHbnoS/u91w1HtYF8aHoyeEaS8BQF0n6CQhtVACjL/vkAKJgI8cWHCAMo88IzGSK82o1 B8lQ72rx+ij/0zrht1oUXJli5kaHcofTF+rAIK6R6GdN3MJAnX2EEZH1553pLFBFBzvi sys7s8FxoQ5qsC6G77iSPYfA2I8F9cYUbgvTQVIYWQf6nhp5z0Ta3sPGZAQpcJXyZxNB ZA== Authentication-Results: ppops.net; spf=fail smtp.mailfrom=ckeepax@opensource.cirrus.com Received: from ediex02.ad.cirrus.com ([87.246.76.36]) by mx0b-001ae601.pphosted.com with ESMTP id 3100xes1ge-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 13 May 2020 03:21:38 -0500 Received: from EDIEX01.ad.cirrus.com (198.61.84.80) by EDIEX02.ad.cirrus.com (198.61.84.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1913.5; Wed, 13 May 2020 09:21:35 +0100 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.1913.5 via Frontend Transport; Wed, 13 May 2020 09:21:35 +0100 Received: from ediswmail.ad.cirrus.com (ediswmail.ad.cirrus.com [198.61.86.93]) by ediswmail.ad.cirrus.com (Postfix) with ESMTP id 6CA562C5; Wed, 13 May 2020 08:21:35 +0000 (UTC) Date: Wed, 13 May 2020 08:21:35 +0000 From: Charles Keepax To: Shengjiu Wang CC: , , , , , , , , , Subject: Re: [PATCH] ASoC: wm8962: Use force clear for WM8962_SYSCLK_ENA after reset Message-ID: <20200513082135.GF71940@ediswmail.ad.cirrus.com> References: <1589347835-20554-1-git-send-email-shengjiu.wang@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1589347835-20554-1-git-send-email-shengjiu.wang@nxp.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Proofpoint-SPF-Result: fail X-Proofpoint-SPF-Record: v=spf1 include:spf-001ae601.pphosted.com include:spf.protection.outlook.com ip4:5.172.152.52 -all X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxlogscore=581 bulkscore=0 spamscore=0 clxscore=1015 cotscore=-2147483648 suspectscore=0 lowpriorityscore=0 phishscore=0 priorityscore=1501 mlxscore=0 adultscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2004280000 definitions=main-2005130076 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 13, 2020 at 01:30:35PM +0800, Shengjiu Wang wrote: > When CLOCKING2 is non-volatile register, we need force clear > the WM8962_SYSCLK_ENA bit after reset, for the value in cache > maybe 0 but in hardware it is 1. Otherwise there will issue > as below statement in driver. > > /* SYSCLK defaults to on; make sure it is off so we can safely > * write to registers if the device is declocked. > > Fixes: c38b608504aa ("ASoC: wm8962: set CLOCKING2 as non-volatile register") > Signed-off-by: Shengjiu Wang > --- Acked-by: Charles Keepax Thanks, Charles