Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp589318ybl; Thu, 12 Dec 2019 01:26:37 -0800 (PST) X-Google-Smtp-Source: APXvYqy4lm3B9OL5CHkIXeeIkhyxjHSe///vYV00B+lIfAsMgMTEN2BTYdSbBaQGGH4WIpnCCBj1 X-Received: by 2002:a05:6830:1b71:: with SMTP id d17mr6645899ote.42.1576142796929; Thu, 12 Dec 2019 01:26:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1576142796; cv=pass; d=google.com; s=arc-20160816; b=w/QvC8lwd+Ut3tZojxArqgCI4X8yWpJ6NL/uHd9C0TDMYYO+rvrAhhl0lrX3WsG49m 39MVybiKADjpMyNLMnvgpoNJ7usbbD7RFhQTw1041tI5poQaJhDYReK8w1Bchgdccxjv ESXeYbvex9fHjH3vNHcDUgVQyVF4K0i02f4e9D9yV98cnNADyRk5uI5OVl4FbbyeM+Kt zTWWuLb+AJ/T56smkXdyE346V/rtraMjT+VtCKlmzJ7GbsnZUXCjdws32uD+Z7OdNMIB jq6ABCjznbHmb/bpap0qN136pZ2otToj5f14PuNgbxZc7GX2MLEpq6SVQwXgFkSU41NH vP/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature; bh=+bUsp7tpe2CrFkKpjsbXbgjp+KboaM10geoPb9dQU3g=; b=MvdAc9AF4ZvwJg+6FZzCYKYSQUfeHQrFmX1NRhTgQkIuXMx56+L72sShkHOQotS1q9 NvU98WlTx7E/THVmxfzvEsqCHboecpeeZH0DuamQZb2M7AG5ZB+uvKKZXlDx0Xb2KEIh mrLL/mAvYu5N1FZTMGRh7wMSPc8S1kdgWsxs6cZe+nnORGBlk+dlSe8E3hCKpD5MkKlE NVV6OpU9DotLBpX1vkAVrazeGXv2GVzmyctoBOW9zowd/RPzVxrppzYrwJfJ4jXfWmZu Svv5yGmsRdFhZPteVbczpeTh1DN+cT7jEMDI/aNoYAQnhatgGcFub1BkElAMxsnRzRof XjnA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=AyGXu9vm; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i8si2871002oia.137.2019.12.12.01.26.24; Thu, 12 Dec 2019 01:26:36 -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=@nxp.com header.s=selector2 header.b=AyGXu9vm; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728338AbfLLJYu (ORCPT + 99 others); Thu, 12 Dec 2019 04:24:50 -0500 Received: from mail-eopbgr150084.outbound.protection.outlook.com ([40.107.15.84]:27970 "EHLO EUR01-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726382AbfLLJYu (ORCPT ); Thu, 12 Dec 2019 04:24:50 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bjzElu1fbcYKJGClvlxTeF3QdyNh1VgsbtrQimfD4FoAKucuicqhTQiwUVo26j7o4IiZFd4WGVNM2cUE1xQx39Q5mi+2bcpvwBprnwaoKbVErYK13wMnhDSeu8y5DziUq3snQc/Vc8g6AyxZk+ZxSMqzHL3FLPZkSGm4xOV3bb35DieHAydiES7TR8iqWAOn6oR7nJY9QrJXShRcQblo2YKEd3A1qv+qPidz4Q4IYfFH8k4Ztz9cQs0Hok3E9Z8vbBpXsJ7ucRxy3EMuIWbmXgM7HiviiaBgFDDn7olhtH6suXqM2CHdLkW0EScxuTRjtbvfyi2VhzoqxnbP6as8hQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+bUsp7tpe2CrFkKpjsbXbgjp+KboaM10geoPb9dQU3g=; b=ZCMZWjwFC0XRyng0LmRRypbTku0td1idSC8LdZJqayH7w7NXY+eLfzGmuBEmcKDsWORkRogDca04FhnVkinrMjkaxPGw/RyDQu2bm2cAJ/qA93ixI6stMV/2Q9/tVyryXFyeUl0VIB4llbM6vFJVMQs0GIuW9tkvQk/k3oEB/hEl3KR2Dp87W7F025z1N83W7dg8IqK34BC08Tz+BMDEUMGswhx0lon9zOT/8TT8dkaJK5d6O8FWH624yEicTWXZOxA7HiPXZZIBONA7fLEgnbm1Xudt4/wQf1u/dWKVdROuwo12fwjgK2aq8K/PbCJ3vzrxdum4dpSKYAe4SNButQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+bUsp7tpe2CrFkKpjsbXbgjp+KboaM10geoPb9dQU3g=; b=AyGXu9vmnVZQcvyYMo9jvVpiUWxbA4irTTzmUETYnJ2zmGp2Xj5Xj7l0uK3EMKIVZG5I4E4bOy6gVrj/QrzVgOXZaVEJVYZTDwuxinshf8J20Waus6Un2CIt0/41sVdA/N4WhsNYPB1nYrh8aE/treLbFKtU8G3JtuUKeFENV2M= Received: from VI1PR04MB4062.eurprd04.prod.outlook.com (52.133.12.32) by VI1PR04MB5935.eurprd04.prod.outlook.com (20.178.204.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.15; Thu, 12 Dec 2019 09:24:42 +0000 Received: from VI1PR04MB4062.eurprd04.prod.outlook.com ([fe80::20fe:3e38:4eec:ea03]) by VI1PR04MB4062.eurprd04.prod.outlook.com ([fe80::20fe:3e38:4eec:ea03%7]) with mapi id 15.20.2516.018; Thu, 12 Dec 2019 09:24:42 +0000 From: Alison Wang To: Oleksandr Suvorov CC: Marcel Ziswiler , Igor Opaniuk , "festevam@gmail.com" , "broonie@kernel.org" , "lgirdwood@gmail.com" , "alsa-devel@alsa-project.org" , "linux-kernel@vger.kernel.org" Subject: RE: [EXT] Re: [PATCH] ASoC: sgtl5000: Revert "ASoC: sgtl5000: Fix of unmute outputs on probe" Thread-Topic: [EXT] Re: [PATCH] ASoC: sgtl5000: Revert "ASoC: sgtl5000: Fix of unmute outputs on probe" Thread-Index: AQHVsLyIRDFbzLs7vEuxsFkXl6DgTKe2NokAgAAA1bA= Date: Thu, 12 Dec 2019 09:24:42 +0000 Message-ID: References: <20191212071847.45561-1-alison.wang@nxp.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alison.wang@nxp.com; x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: deb4047d-c061-4012-8145-08d77ee51ece x-ms-traffictypediagnostic: VI1PR04MB5935:|VI1PR04MB5935: x-ld-processed: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 0249EFCB0B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(189003)(199004)(13464003)(7696005)(316002)(2906002)(44832011)(66946007)(53546011)(55016002)(33656002)(66616009)(9686003)(5660300002)(6506007)(66446008)(66556008)(66476007)(64756008)(54906003)(52536014)(478600001)(8676002)(81156014)(86362001)(8936002)(4326008)(6916009)(76116006)(26005)(71200400001)(81166006)(186003);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR04MB5935;H:VI1PR04MB4062.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 7PYhQR1ZAE0yEcDJRS8jNPAs10LcP0GOwQMBgVxnn7dVXp7/moUIkioBSRXMmb1eZU6kdv92pH11zO1SBhl7PuuvZ//r89j1VJlDijB+o0Sshl3thpB/mkHQorMFbnmy3pJ81kmuQPG699MXnQTnvLb1ov6VaVBYWriWixuMAEDP9lMUcTgdge6uaxGiqC+efvV6Js4pB4cS5l9HZz/4MxIPZj2urkkpAuHg0vviX+ED8c6Pff/q1mpjg37HTWAkWvaBgBGHAw+cR1OfzFb/DFpYeGAlIBEKWgRXYvtEWdJ16xvxKXDk0fx4ZWyMg0MY3vQS/wEJfO0R7r3spUmYblwLvbEOsGFGtZQz70lO+D0TW7dlxlob4G7XOdQVE391aWCOeqEQZUU7vN392PS6vyWw71YhJP5Qh9rSHD5Wx7O1HaS/x8oX8HgwbwLX+OcGq1BZAR2BbSX1puefYKoNqqB4xri83LhMdFf12HCN657/AEjWFJZnd4iGxSo4hHd4 x-ms-exchange-transport-forked: True Content-Type: multipart/mixed; boundary="_002_VI1PR04MB40627CDD5F0C17D8DCDCFFE2F4550VI1PR04MB4062eurp_" MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: deb4047d-c061-4012-8145-08d77ee51ece X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2019 09:24:42.4585 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hAljXWXyS55kxv/YzmM98XJi95yy2ZxI9v0mfY4apkwFWbYt3CM2xgDiTyBccVyS1qWPcs77C1vG6aohZbHq3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB5935 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --_002_VI1PR04MB40627CDD5F0C17D8DCDCFFE2F4550VI1PR04MB4062eurp_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGksIE9sZWtzYW5kciwNCg0KSSB0aGluayBJIGhhdmUgZXhwbGFpbmVkIHRoZSByZWFzb24gaW4g bXkgZW1haWwgd2hpY2ggc2VudCB0byB5b3UgeWVzdGVyZGF5LiBJIGF0dGFjaGVkIGl0IHRvby4N CkFjY29yZGluZyB0byBteSB0ZXN0IG9uIHRoZSBib2FyZHMsIE1VVEVfTE8sIE1VVEVfSFAgYW5k IE1VVEVfQURDIGFyZSBhbGwgbXV0ZWQgd2hlbg0KcGxheWluZyB0aGUgc291bmQuDQoNCkNvdWxk IHlvdSBnaXZlIG1lIHNvbWUgaWRlYXMgYWJvdXQgdGhpcyBpc3N1ZT8NCg0KDQpCZXN0IFJlZ2Fy ZHMsSSANCkFsaXNvbiBXYW5nDQoNCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut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+ID4gcmVnKTsNCj4gPg0KPiA+IC0gICAg ICAgc25kX3NvY19jb21wb25lbnRfdXBkYXRlX2JpdHMoY29tcG9uZW50LA0KPiBTR1RMNTAwMF9D SElQX0FOQV9DVFJMLA0KPiA+IC0gICAgICAgICAgICAgICB6Y2RfbWFzaywgemNkX21hc2spOw0K PiA+ICsgICAgICAgc25kX3NvY19jb21wb25lbnRfd3JpdGUoY29tcG9uZW50LA0KPiBTR1RMNTAw MF9DSElQX0FOQV9DVFJMLA0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIFNHVEw1MDAwX0hQ X1pDRF9FTiB8DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAgU0dUTDUwMDBfQURDX1pDRF9F Tik7DQo+ID4NCj4gPiAgICAgICAgIHNuZF9zb2NfY29tcG9uZW50X3VwZGF0ZV9iaXRzKGNvbXBv bmVudCwNCj4gU0dUTDUwMDBfQ0hJUF9NSUNfQ1RSTCwNCj4gPiAgICAgICAgICAgICAgICAgICAg ICAgICBTR1RMNTAwMF9CSUFTX1JfTUFTSywNCj4gPiAtLQ0KPiA+IDIuOS41DQo+ID4NCj4gDQo+ IA0KPiAtLQ0KPiBCZXN0IHJlZ2FyZHMNCj4gT2xla3NhbmRyIFN1dm9yb3YNCj4gDQo+IFRvcmFk ZXggQUcNCj4gQWx0c2FnZW5zdHJhc3NlIDUgfCA2MDQ4IEhvcncvTHV6ZXJuIHwgU3dpdHplcmxh bmQgfCBUOiArNDEgNDEgNTAwDQo+IDQ4MDAgKG1haW4gbGluZSkNCg== --_002_VI1PR04MB40627CDD5F0C17D8DCDCFFE2F4550VI1PR04MB4062eurp_ Content-Type: message/rfc822 Content-Disposition: attachment; creation-date="Thu, 12 Dec 2019 09:24:39 GMT"; modification-date="Thu, 12 Dec 2019 09:24:39 GMT" From: Alison Wang To: "oleksandr.suvorov@toradex.com" , Marcel Ziswiler , "igor.opaniuk@toradex.com" , Fabio Estevam , "broonie@kernel.org" , "lgirdwood@gmail.com" CC: "alsa-devel@alsa-project.org" Subject: RE: [v6,5/6] ASoC: sgtl5000: Fix of unmute outputs on probe Thread-Topic: [v6,5/6] ASoC: sgtl5000: Fix of unmute outputs on probe Thread-Index: AdWv8c/6ILgEMkLmRYinQyj4db74kQAAAgFQ Date: Wed, 11 Dec 2019 07:59:23 +0000 Message-ID: References: In-Reply-To: Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MS-Exchange-Organization-RecordReviewCfmType: 0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi, Oleksandr, I have a question about this patch. Could you give me some ideas? Thanks. In this patch, snd_soc_component_update_bits is used instead of snd_soc_com= ponent_write. Although EN_HP_ZCD and EN_ADC_ZCD are enabled in ANA_CTRL reg= ister, MUTE_LO, MUTE_HP and MUTE_ADC bits are remained as the default value= . It causes LO, HP and ADC are all muted after driver probe. BTW, in the or= iginal code, snd_soc_component_write is used and MUTE_LO, MUTE_HP and MUTE_= ADC are all set as zero (unmute). I saw the above phenomenon on the latest linux-next. For LO and HP are mute= d, no sound can be heard. Best Regards, Alison Wang > Subject: [v6,5/6] ASoC: sgtl5000: Fix of unmute outputs on probe >=20 > To enable "zero cross detect" for ADC/HP, change HP_ZCD_EN/ADC_ZCD_EN > bits only instead of writing the whole CHIP_ANA_CTRL register. >=20 > Signed-off-by: Oleksandr Suvorov > Reviewed-by: Marcel Ziswiler > Reviewed-by: Igor Opaniuk > Reviewed-by: Fabio Estevam >=20 > --- >=20 > Changes in v6: None > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: > - Fix patch formatting >=20 > sound/soc/codecs/sgtl5000.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) >=20 >=20 > diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c in= dex > b65232521ea8..23f4ae2f0723 100644 > --- a/sound/soc/codecs/sgtl5000.c > +++ b/sound/soc/codecs/sgtl5000.c > @@ -1453,6 +1453,7 @@ static int sgtl5000_probe(struct > snd_soc_component *component) > int ret; > u16 reg; > struct sgtl5000_priv *sgtl5000 =3D > snd_soc_component_get_drvdata(component); > + unsigned int zcd_mask =3D SGTL5000_HP_ZCD_EN | > SGTL5000_ADC_ZCD_EN; >=20 > /* power up sgtl5000 */ > ret =3D sgtl5000_set_power_regs(component); > @@ -1480,9 +1481,8 @@ static int sgtl5000_probe(struct > snd_soc_component *component) > 0x1f); > snd_soc_component_write(component, SGTL5000_CHIP_PAD_STRENGTH, > reg); >=20 > - snd_soc_component_write(component, SGTL5000_CHIP_ANA_CTRL, > - SGTL5000_HP_ZCD_EN | > - SGTL5000_ADC_ZCD_EN); > + snd_soc_component_update_bits(component, > SGTL5000_CHIP_ANA_CTRL, > + zcd_mask, zcd_mask); >=20 > snd_soc_component_update_bits(component, > SGTL5000_CHIP_MIC_CTRL, > SGTL5000_BIAS_R_MASK, >=20 --_002_VI1PR04MB40627CDD5F0C17D8DCDCFFE2F4550VI1PR04MB4062eurp_--