Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp173314ybg; Mon, 27 Jul 2020 19:30:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyBLHXQBadvn/xaRVJK32vyjP1IMTVMN+T8mjr24+qCR7Q11i2SL5CS1ZWRg39Og8G/jT6 X-Received: by 2002:a50:fe0a:: with SMTP id f10mr7482527edt.264.1595903454777; Mon, 27 Jul 2020 19:30:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595903454; cv=pass; d=google.com; s=arc-20160816; b=zuEOcfkd1decd1r9lWW981JUS4/7taPLCvS4VayjaW0mifvD6m+uftVlZ5L0FAQo91 nhkD3kuuBpx6b5FRATETL66y+thYmgiDyNsGg4EBRCB12SwmZLKCM+lexNq6LUnDx9rE Cjd1AehVWAN0zsh5aOiN7spcd11nlFNUNkuwwt2+LdpZLZ/bpHwWuCEYeX6+JWhFmMg1 DxOKNEGqDYB5xZZtwPJHEctQoKoaX3joqDBSNhW5Wl9uzkN0kt97yPo2UXuWCXhMuSYh TtqHMnWo9oaV8eGNkZ7LuQZqP4Tk4F1FtcT31edkJPhAmzXwzr6T0p6aoHuPE/YXBGep eO4w== 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-transfer-encoding :dlp-reaction:dlp-product:dlp-version:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature:ironport-sdr :ironport-sdr; bh=c9pH5elaeJebZRk1tYATEFh8QnFe2xYNvaUYYAavfwE=; b=HE790/dCUUGXm2zlOJ+4SM3PlbSCBKOHbzVeGMYks48HfizDK2rP6B4tXRYiLqLT+i mduTAIBwQNER4EuhLmF59wVq0I3qDDki4Ivtk2THyF3zZjaOUNJ5z/uZfE6rejoWTnNV CKL7BLxR4QkoeZd5lQEfHAYUQP6dXDk6vltabghB5nU4P4E8KU7vl8E1FmoGYt5BNJ5D QqYL1sen9a7QbxoxczNo6b6wA6hs2UB+MkT0cJbzZ3d8NQZZ1dlIBqgyWLEIQVCwMZ3x C1K0qBnmPB+donhX93VbyuKbc+NTMKhNHu5w6lcFG5uDziLmmb/33pgWbdOI1gNxWo33 YKCg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ps7T9eMO; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g7si6398771edj.525.2020.07.27.19.30.31; Mon, 27 Jul 2020 19:30:54 -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=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=ps7T9eMO; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726575AbgG1C2O (ORCPT + 99 others); Mon, 27 Jul 2020 22:28:14 -0400 Received: from mga03.intel.com ([134.134.136.65]:18184 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726237AbgG1C2O (ORCPT ); Mon, 27 Jul 2020 22:28:14 -0400 IronPort-SDR: 8+8O7/JTcxWyECCeYrHykw3SjrN1OqCHgzecM4v4PNjhJTyzV33F0ht0DHZzpI61HaAqLXrwkd ZIMs86AnkelA== X-IronPort-AV: E=McAfee;i="6000,8403,9695"; a="151124185" X-IronPort-AV: E=Sophos;i="5.75,404,1589266800"; d="scan'208";a="151124185" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 19:28:12 -0700 IronPort-SDR: 6NTTXTF6EE9+NQ0CWebYT5pm6s3i7NcxR3kOrWK8gIQkm5ADrMSw0KbC2VndPPKFoYQuQfElJ+ xN7J2lCnvoVQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,404,1589266800"; d="scan'208";a="285993395" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by orsmga003.jf.intel.com with ESMTP; 27 Jul 2020 19:28:12 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 27 Jul 2020 19:28:11 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 27 Jul 2020 19:28:11 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 27 Jul 2020 19:28:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ajeYtxnqGkm9YCCyQKj/pdZaS31O5eOGbEzfjAE94ZKYN7DNSJADVGuVtoEU1WLpm5zNO6a+yGCy//uLE/foiNq60K15ExZBpZuhGULAQ4okgC4iqwh0KNSZMLLwRKNcKGsL/zYWLxDHdMPedfX+hdWYRycY55yySL4Aj2qA7rR0bObQVrqOqPk6b6eJtV+6XfkntQyQz1gerXsJWXd1aiEcqNLk/9jkWY2LDP4l5FGwFyWwrLYud7u7IvL27IKfRf3jn9EqCszYIpXun3HPqn62nkS/YCbhs0oYE1J04BqVXZftRDPi18o8L0rRfmyxBCy8J1e7u/qGLiI72LOyPQ== 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=c9pH5elaeJebZRk1tYATEFh8QnFe2xYNvaUYYAavfwE=; b=bmXviUc/VUdMJfiLm9hx4p4b1eA22zXWVOnkyUarWPzHyQk1umgibjqNOxCKWa88vjkh9pVryShrrP1QuzglmD83UASCU0gSLbJTdgU8RLIx3JjkalPa8/BS8QbVL1Mod4uberhhJLjbVbzwYO8hvqHzJJMIzAe3XR3Tz8JpKz2QzkFjTFWuRyoR1vuejlBwEwTAErgKEfv0Sm1SoRGnxrl97H1Who0y+FJQJ8hmzItH2hlwh1d1BLaPzpuhbhCtfInqi42xqBirdo4j5yVTH1BSHy7tuA3Qcpp45Z8nZ7dw4fcnEqlcT1yqKa99VfM5sy83Gh683ULN3IRnaGt9rw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=c9pH5elaeJebZRk1tYATEFh8QnFe2xYNvaUYYAavfwE=; b=ps7T9eMOA17NwG0WpQ1FIcaX/oPiEaVhXxclnNfu10BW5F3ngaufbGzhGHCYwDorSoWzVvFtYGmPm0mbqFvlhOxS/qe3uyyW1EWWz076OvZGwUzNAEdKpjcaiWSzfXvuK/BmdC2uppU0lI3hZvPrw5p4hCDM+tbZTXKc3Cw4JCs= Received: from DM6PR11MB3642.namprd11.prod.outlook.com (2603:10b6:5:138::26) by DM6PR11MB3337.namprd11.prod.outlook.com (2603:10b6:5:a::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.26; Tue, 28 Jul 2020 02:28:10 +0000 Received: from DM6PR11MB3642.namprd11.prod.outlook.com ([fe80::f043:4bdc:ef57:1b41]) by DM6PR11MB3642.namprd11.prod.outlook.com ([fe80::f043:4bdc:ef57:1b41%5]) with mapi id 15.20.3216.033; Tue, 28 Jul 2020 02:28:10 +0000 From: "Lu, Brent" To: Pierre-Louis Bossart , "alsa-devel@alsa-project.org" CC: "Rojewski, Cezary" , Liam Girdwood , Jie Yang , Mark Brown , Jaroslav Kysela , "Takashi Iwai" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] ASoC: Intel: Atom: use hardware counter to update hw_ptr Thread-Topic: [PATCH] ASoC: Intel: Atom: use hardware counter to update hw_ptr Thread-Index: AQHWY2e1AMm9opfdpkGft589vBQJfqkbeEuAgAC7fpA= Date: Tue, 28 Jul 2020 02:28:09 +0000 Message-ID: References: <1595779727-31404-1-git-send-email-brent.lu@intel.com> <7dec7fcd-0381-d279-4dac-77c27ea5f6fe@linux.intel.com> In-Reply-To: <7dec7fcd-0381-d279-4dac-77c27ea5f6fe@linux.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: linux.intel.com; dkim=none (message not signed) header.d=none;linux.intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [114.25.81.97] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 608207a5-a86c-4e71-1127-08d8329ddeb2 x-ms-traffictypediagnostic: DM6PR11MB3337: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: flCIrfb7KEXbGOrc+IHyi+dCs1K/xcluTqFKemPuR01zp7/wIIrxHUVDOX+827LNg+wuJ9peooyHHN7dKBJ/OampLDEOZaSB9DdoZ6O4ROKIMNCoYqKrwT8Rek9PBopGiA02ouiQEuBY8i4fO9o+oTGA9arPDOf/A8awMUq8xpphOW0+zV0vdbq3Lggb1xemywqNqfOIKhnsaKt9bWY5aX+ZmRp6btzTfyqTtT5obhdfCLChSJM9RWc1gajc0VBW7x8bnvH5BFeyrir7mZq0loBlDPJ3mv476Fw+vsNJDKIfQTjAmmU0zSaW8KjkWoEYJxBRv1u9lmvEMD0ETxGpfA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB3642.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(136003)(366004)(346002)(376002)(39860400002)(396003)(478600001)(15650500001)(83380400001)(7696005)(8936002)(316002)(86362001)(71200400001)(54906003)(66476007)(2906002)(4326008)(110136005)(26005)(6506007)(186003)(64756008)(9686003)(66556008)(66446008)(66946007)(55016002)(8676002)(52536014)(76116006)(5660300002)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: pxfIOCVn1UB9HIhMGI9XYNsPWiplj3L8cKeKL2VS9WCELiK1mE+5VC1ZaZcxkfByWQyb3etFML7WRrgGODnhfOZ5Sqy6gc1yuH+Xdpi71JGnNeBwZkO4JBukUS3e5Fjv/YG13bJKoHZEfeMhXgL2nRwg75hFNrLJ+EyaZ27gMHvi5cHli7X2BYLUhuXsHJGf3XMg/o19FXLR+IucCSc8td2SktuiTdrlkwYMKBIs6t+zFBhGsu5I1lmX31nCltc8y2yZwd7Gua487VxfEe+ShOrLSUz/Uv2XHGtioTrkjWtzrk9oTwNLaiE+bnO6JsIdV5TqTwC5PLtZt9Ku4axekaNDr9UJs9U1l8cvGQelJd+8cpUdpyIebXvLJ/RCvLSNgcvBZCK6zXSB7uXvmFvG1tRV+S4nolsxuw4kqyqHy9JRQXkjtyrDebxTPKeUvgM6Wdvg7L7k6bOfYSNK9zz7OIx9fEIUoJFs0R5DZ3Rebv8= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB3642.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 608207a5-a86c-4e71-1127-08d8329ddeb2 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2020 02:28:09.8762 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: RkpKpl/0rwcJ+sG93k0GbuzZBUqQCHHHhERNHLVG5uxexHSQcMU101TmUrrulJ+0nv63xNx6bjSreV2uKYAsqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3337 X-OriginatorOrg: intel.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiANCj4gQWxsIHRoZSBBdG9tIGZpcm13YXJlIGFzc3VtZXMgZGF0YSBjaHVua3MgaW4gbXVsdGlw bGVzIG9mIDFtcyAodHlwaWNhbGx5IDUsDQo+IDEwIG9yIDIwbXMpLiBJIGhhdmUgbmV2ZXIgc2Vl biBhbnlvbmUgdXNlIDI1NiBmcmFtZXMsIHRoY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