Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp488275ybi; Wed, 19 Jun 2019 03:01:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwhJBRPxaJI8INOL7pq14NF6FjaJCRDUcImeqHN939tKuyKc4G/U/LP9rpsxlC7PhZZ7L41 X-Received: by 2002:a63:8049:: with SMTP id j70mr7170674pgd.63.1560938470797; Wed, 19 Jun 2019 03:01:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560938470; cv=none; d=google.com; s=arc-20160816; b=ebsmwt/F2tvmMm+19xCHTqEiPKOqyWJ3JO3ggaQl/QtxbBM2vtAsQ56ra717f9k75a dOCvIoHkfHxfCXN76eNaMS4U006l7sSARXlo00eZcWgXlbeh6y+SdM/L+sG5tlax5dUy wHxPDZp2fG29GN1v6Met5EKSBPCjkNCfM4cdzSgDcX+VxlZtdVbBzlAzTZxThIkgqL6K y0V4ojM2MnkbvdO+JsEPrtlyr4YudO52tz0TNWJz0nMsavTvkzh6jYRZajenGKW9VU4q w6wG1o2DkmBCZjuWYJXaxi0DC8FErTED9t9Z1qzqMysYsDLjUXxXoqeiFDfxAY4GQmrm egNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=qr6g1cm7ng129IYm1V5p86lHZWyWhhQWJmuI0SaSofM=; b=VMcVHu+SfH07Z2/9HqaT/YM9Y80LpCOEfSjOitiTHFiF7QJFJ8CqIFUyvNW5NxgTEa B3uMbCyM61WVI/hRBnP95PYl2jSpIIFBJDFcfO7Ss5YWLeHOGd28+aUEoRbCSif/R/Ht ViWyoh4V2rh5K60SbyfiyjsSGwHevP+cCUbCQSVB1eyEr4JLzZH0rBNNVFbEAH8UZIOx QShYU6GDZkU98A//gCt25c9tBgFy2leYl1enz/Xyo4pyw5ONj2iPsHuP+azaBIRauuul L2Ds2DXE9bH4Kel2I4a3dZWQj1NNgaIG12BQjXrXdfP1EubAbCDzbqV2PSWrM77kAMFH 3RiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@toradex.com header.s=selector1 header.b=NDuLEA8C; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d184si2704068pga.551.2019.06.19.03.00.54; Wed, 19 Jun 2019 03:01:10 -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; dkim=pass header.i=@toradex.com header.s=selector1 header.b=NDuLEA8C; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=toradex.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731532AbfFSKAf (ORCPT + 99 others); Wed, 19 Jun 2019 06:00:35 -0400 Received: from mail-eopbgr80107.outbound.protection.outlook.com ([40.107.8.107]:16606 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726479AbfFSKAf (ORCPT ); Wed, 19 Jun 2019 06:00:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toradex.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qr6g1cm7ng129IYm1V5p86lHZWyWhhQWJmuI0SaSofM=; b=NDuLEA8C9AHGHTduW81jcH2VjmIA55/33qP+lFuePToq/neYUx9ikFJeA55wJkzikwDlP7oHycCoB3/NNeZMg/lmhUEESrs8sePRIVxirsRMJnjSqUfhQ4kSjgyOj58unCtTznTP5hInFZiZov/RWAxXvETl5i07GAt7sTB2a1s= Received: from AM6PR05MB6535.eurprd05.prod.outlook.com (20.179.18.16) by AM6PR05MB6120.eurprd05.prod.outlook.com (20.179.3.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.10; Wed, 19 Jun 2019 10:00:30 +0000 Received: from AM6PR05MB6535.eurprd05.prod.outlook.com ([fe80::2c23:fdba:9ce4:7397]) by AM6PR05MB6535.eurprd05.prod.outlook.com ([fe80::2c23:fdba:9ce4:7397%7]) with mapi id 15.20.1987.014; Wed, 19 Jun 2019 10:00:30 +0000 From: Oleksandr Suvorov To: Marcel Ziswiler , "festevam@gmail.com" CC: Igor Opaniuk , "linux-kernel@vger.kernel.org" , "alsa-devel@alsa-project.org" Subject: Re: [PATCH v1 1/6] ASoC: sgtl5000: Fix definition of VAG Ramp Control Thread-Topic: [PATCH v1 1/6] ASoC: sgtl5000: Fix definition of VAG Ramp Control Thread-Index: AQHVD9BbLTSN4sMG+UK9nZhF2PRISKaZbpKAgAl3jbA= Date: Wed, 19 Jun 2019 10:00:30 +0000 Message-ID: References: <20190521103619.4707-1-oleksandr.suvorov@toradex.com> <20190521103619.4707-2-oleksandr.suvorov@toradex.com>,<79fa1a0855bfcc1abad348aa047e7a69fffb8225.camel@toradex.com> In-Reply-To: <79fa1a0855bfcc1abad348aa047e7a69fffb8225.camel@toradex.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=oleksandr.suvorov@toradex.com; x-originating-ip: [194.105.145.90] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6b0ffbc8-b4b5-4fe2-9ead-08d6f49cf66c x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:AM6PR05MB6120; x-ms-traffictypediagnostic: AM6PR05MB6120: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0073BFEF03 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(136003)(396003)(39850400004)(346002)(366004)(189003)(199004)(6506007)(305945005)(110136005)(316002)(86362001)(74316002)(76176011)(53546011)(26005)(6246003)(66476007)(64756008)(71200400001)(66446008)(486006)(73956011)(66946007)(3846002)(7696005)(478600001)(6116002)(99286004)(66556008)(102836004)(44832011)(76116006)(4326008)(71190400001)(33656002)(81166006)(446003)(8936002)(68736007)(14444005)(54906003)(25786009)(5660300002)(256004)(8676002)(7736002)(66066001)(11346002)(186003)(476003)(229853002)(2906002)(81156014)(9686003)(52536014)(53936002)(6436002)(55016002)(14454004)(2501003);DIR:OUT;SFP:1102;SCL:1;SRVR:AM6PR05MB6120;H:AM6PR05MB6535.eurprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: toradex.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: woUE+ynWcg3JxzWku8Gwy4huTEeW0kF8K+u69tv4kYgOMjfXPmtxwj7TX00L4ls0+AjuJjpmCBd9HZDKCBtejflZdZ9t7JpL0HurcRXm7UkNHmLfKJkzbmr7aM8xyPBLKPDayY+i6Z1eBXaQaObCkqPn+H7+gbvwBvB4eWQd0hNMr5RrYxBEOLSqswsZFzjSoY/uuVOpDCQHm7qTeR/szX+NZQ9ZGauUz/AvyHO+fqg53GDnDEIBVeCQONF32zAEUrL9sE6MQA7xORJS7Q4XW6o9cytZ1dWmEls/QsS3ro+p69wuiiUHVjK4wOscQBw8XYkCqIMTGtBKavjTJhyxm2muUtfVL45XivRfwrCuEfJKGfPyYdpYb+/e3xVC0wBrP/RZCdtbjWK17urASSkvMKeXDfPJYObYaQ5IG9yRpBg= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: toradex.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6b0ffbc8-b4b5-4fe2-9ead-08d6f49cf66c X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Jun 2019 10:00:30.3894 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d9995866-0d9b-4251-8315-093f062abab4 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oleksandr.suvorov@toradex.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB6120 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > ________________________________________=0A= > From: Marcel Ziswiler=0A= > Sent: Thursday, June 13, 2019 12:05=0A= > To: festevam@gmail.com; Oleksandr Suvorov=0A= > Cc: Igor Opaniuk; linux-kernel@vger.kernel.org; alsa-devel@alsa-project.o= rg=0A= > Subject: Re: [PATCH v1 1/6] ASoC: sgtl5000: Fix definition of VAG Ramp Co= ntrol=0A= > =0A= > On Tue, 2019-05-21 at 13:36 +0300, Oleksandr Suvorov wrote:=0A= > > SGTL5000_SMALL_POP is a bit mask, not a value. Usage of=0A= > > correct definition makes device probing code more clear.=0A= > >=0A= > > Signed-off-by: Oleksandr Suvorov =0A= > =0A= > Reviewed-by: Marcel Ziswiler =0A= > =0A= > > ---=0A= > >=0A= > > sound/soc/codecs/sgtl5000.c | 2 +-=0A= > > sound/soc/codecs/sgtl5000.h | 2 +-=0A= > > 2 files changed, 2 insertions(+), 2 deletions(-)=0A= > >=0A= > > diff --git sound/soc/codecs/sgtl5000.c sound/soc/codecs/sgtl5000.c=0A= > =0A= > I'm not sure how exactly you generated this patch set but usually git=0A= > format-patch inserts an additional folder level called a/b which is=0A= > what git am accepts by default e.g.=0A= =0A= I just used patman to generate this set of patches. But my .gitconfig inclu= ded diff option "noprefix".=0A= Thanks for pointing me! Fixed. Should I resent regenerated patchset with th= e prefix?=0A= =0A= > diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c=0A= > =0A= > > index a6a4748c97f9..5e49523ee0b6 100644=0A= > > --- sound/soc/codecs/sgtl5000.c=0A= > > +++ sound/soc/codecs/sgtl5000.c=0A= > =0A= > Of course, the same a/b stuff applies here:=0A= > =0A= > --- a/sound/soc/codecs/sgtl5000.c=0A= > +++ b/sound/soc/codecs/sgtl5000.c=0A= > =0A= > > @@ -1296,7 +1296,7 @@ static int sgtl5000_probe(struct=0A= > > snd_soc_component *component)=0A= > >=0A= > > /* enable small pop, introduce 400ms delay in turning off */=0A= > > snd_soc_component_update_bits(component,=0A= > > SGTL5000_CHIP_REF_CTRL,=0A= > > - SGTL5000_SMALL_POP, 1);=0A= > > + SGTL5000_SMALL_POP,=0A= > > SGTL5000_SMALL_POP);=0A= > >=0A= > > /* disable short cut detector */=0A= > > snd_soc_component_write(component, SGTL5000_CHIP_SHORT_CTRL,=0A= > > 0);=0A= > > diff --git sound/soc/codecs/sgtl5000.h sound/soc/codecs/sgtl5000.h=0A= > > index 18cae08bbd3a..a4bf4bca95bf 100644=0A= > > --- sound/soc/codecs/sgtl5000.h=0A= > > +++ sound/soc/codecs/sgtl5000.h=0A= > > @@ -273,7 +273,7 @@=0A= > > #define SGTL5000_BIAS_CTRL_MASK 0x000e=0A= > > #define SGTL5000_BIAS_CTRL_SHIFT 1=0A= > > #define SGTL5000_BIAS_CTRL_WIDTH 3=0A= > > -#define SGTL5000_SMALL_POP 1=0A= > > +#define SGTL5000_SMALL_POP 0x0001=0A= > >=0A= > > /*=0A= > > * SGTL5000_CHIP_MIC_CTRL=0A= > > --=0A= > > 2.20.1=