Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp635630ybx; Wed, 6 Nov 2019 06:13:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxftPimZGBG6b3bWf7Ob6dyqHhiskxtpMXk0WibPkXA0s5t83/Zc5R+hu+qfI4jqKOzJAZj X-Received: by 2002:aa7:ce96:: with SMTP id y22mr3006135edv.100.1573049582472; Wed, 06 Nov 2019 06:13:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1573049582; cv=pass; d=google.com; s=arc-20160816; b=Ldg+f+CS/eOXF3lx9+7rsN9EpSJmSXf6iW1uOUK0sdUkLEl/4O0UzZb1YnAAbO4sw4 ezDoqs0BCF3ap3UTid7JJ78lrUfRN3ioy6wzpJs/NnKksdtSc5EhJkSVOjpNvgIXHs3a MAQe9Ob+JaSNETFRUaKGX3AxndepiUk7/HMkoVPQvjx375aG+4fE65cfGkE7cDg4Y4Vn qALUGJx4CpNqH//nQMwB1832Ago5LFzInmMQIsTtwqNwarcKOXLbQWiMvgc/3L4JoD17 8rnFD6exxfRwcCa9eOGf/P3Iy5oDdIwOfM57+Ud+PX4do+LKXAnuoR+9Wn0M3jzpWGPC j3cA== 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 :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=Qp9kQEDYX0SpxpQtWF2qtsG7fcRv5YICmBbHD7Ksilg=; b=BlatxAfownhCJk3xYhFcNw5W+Nq65If8O1FzEamKH559Xdnep2dN57eiO6EWi+1Vlt ThyUclNwfjl0Gc6J6M5SOSmPYYMcO7+/kKgfSh4s5zh81fkf802fTVWbCNpJb6SW6qHe npdH5V2Ja2SX14SDGmulB5CIBC/lxXJsGGcdI5stW8R7cQxMF5pgt0aArFgkVWxXIw7y m6wFEoIhyLB7dvp8qpoALrgDkZY8AvvKIyHc4Vvf5DWIbiTYboxMuyVjym+BkA/mOGUe 3lZgT922jul/1X0itur6xyqyYAURwH7C6xRXbGmjPDhNOzuJoPM/hFsbTBNg/D8lfYai cDEQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b="NmV/qBHf"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b15si15158889ejv.167.2019.11.06.06.12.37; Wed, 06 Nov 2019 06:13:02 -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=@amdcloud.onmicrosoft.com header.s=selector2-amdcloud-onmicrosoft-com header.b="NmV/qBHf"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731661AbfKFOLw (ORCPT + 99 others); Wed, 6 Nov 2019 09:11:52 -0500 Received: from mail-eopbgr820071.outbound.protection.outlook.com ([40.107.82.71]:47168 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727324AbfKFOLw (ORCPT ); Wed, 6 Nov 2019 09:11:52 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=gb3q5+ZXtsbEowFkJoJ1hEj55bniFolDO3tV1UJGRsNtv61wVnZZamFtGTbU9meemA1c/0OKCD4crkNR1Cwy2iQ0HItXZFHES0vegi1f4mmx7qJGLZvKaBmh2g7i0w1j0NeYvm50paBKCQ4XhsOLdWwMCm7OaS4myRJFvRTAQaWQp6Zjv/Gty21RVnNa0WKoz3eCM0eeoalFZbKSUlB8jzTkBIZhMX+UiJR/cWZJIyUVM2mPf8Xc4nJlp1KuPjNa2mcUWj/q0RyUMVnGP2uHEx4ff+qDEIiax8Z2gWuIL0ahsghJ2MyEMNo6Z724ZN4F0gZeKlZqJ8Z1L+FFwaE1fw== 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=Qp9kQEDYX0SpxpQtWF2qtsG7fcRv5YICmBbHD7Ksilg=; b=QXb4zRskAR4olGjqbD0t/SaiqvgQCVsriCgKXuUdFC+9yAEPdNauwqhotMwdsVwJQaGJDOU0/5uMACWa+UucbXODppa2wDzv6xsZpLdT2rrv6l02f+NWh65Y7aJ9VB3z+eLL8QbH8x3KEW9YWyUOsrt6SSUPP8z+QYXVtsCc/OEn87nzKQ+DnZ7d+MnpaDy4cpZhpBr3KAXGlOfZ3GVqlW056HMJmcDQjGyvJ6EnLyjN+fhA+WPFle71BV0br1604CNBLaKjmA+iwcPm0kGQisHo/0KvjZdeVDyOcSpYteD/orju+1PBKCDWWa1bPNjlt4hIjp9qMnyoltCRaJwezA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector2-amdcloud-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Qp9kQEDYX0SpxpQtWF2qtsG7fcRv5YICmBbHD7Ksilg=; b=NmV/qBHfUJhb0LvOpc6Rj/1dGGO2StHbZCnB2RLauFfVEGUVzfFucFEjlBht1oicza2FR0XbYMhZpRDvB7UwAq9D/1gRQW0XLDh1IJqPYftZ+lk8851GC/1yf61OWJmv2XGKmXqd4amS2gF0PlnzEhWACPVzGNF35+Z12KB25iw= Received: from DM6PR12MB3868.namprd12.prod.outlook.com (10.255.173.213) by DM6PR12MB4235.namprd12.prod.outlook.com (10.141.8.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2430.20; Wed, 6 Nov 2019 14:11:47 +0000 Received: from DM6PR12MB3868.namprd12.prod.outlook.com ([fe80::ac0a:4c84:7bb:2843]) by DM6PR12MB3868.namprd12.prod.outlook.com ([fe80::ac0a:4c84:7bb:2843%5]) with mapi id 15.20.2430.020; Wed, 6 Nov 2019 14:11:47 +0000 From: vishnu To: Dan Carpenter , "RAVULAPATI, VISHNU VARDHAN RAO" CC: "Deucher, Alexander" , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , "Mukunda, Vijendar" , Maruthi Bayyavarapu , Colin Ian King , YueHaibing , Kuninori Morimoto , "Mehta, Sanju" , "moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..." , open list Subject: Re: [PATCH 6/7] ASoC: amd: ACP powergating should be done by controller Thread-Topic: [PATCH 6/7] ASoC: amd: ACP powergating should be done by controller Thread-Index: AQHVhZzSniHALHuA0kOzcVkkYwwFe6dgNVMAgB7N+QA= Date: Wed, 6 Nov 2019 14:11:46 +0000 Message-ID: <37667547-5b85-be25-df5d-39431b4b287a@amd.com> References: <1571432760-3008-1-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> <1571432760-3008-6-git-send-email-Vishnuvardhanrao.Ravulapati@amd.com> <20191018103910.GL21344@kadam> In-Reply-To: <20191018103910.GL21344@kadam> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MAXPR0101CA0036.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:d::22) To DM6PR12MB3868.namprd12.prod.outlook.com (2603:10b6:5:1c8::21) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Vishnuvardhanrao.Ravulapati@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.159.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d017786f-d7e4-483e-d06e-08d762c34245 x-ms-traffictypediagnostic: DM6PR12MB4235:|DM6PR12MB4235: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2803; x-forefront-prvs: 02135EB356 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(39860400002)(136003)(396003)(366004)(346002)(376002)(199004)(189003)(99286004)(81156014)(81166006)(8676002)(316002)(8936002)(2906002)(110136005)(54906003)(3846002)(6116002)(36756003)(25786009)(478600001)(14454004)(26005)(102836004)(66066001)(386003)(486006)(53546011)(6506007)(31696002)(2616005)(476003)(446003)(11346002)(7736002)(229853002)(71200400001)(71190400001)(256004)(6636002)(186003)(52116002)(305945005)(76176011)(6486002)(5660300002)(64756008)(66476007)(66556008)(66446008)(66946007)(31686004)(6512007)(4326008)(6246003)(6436002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR12MB4235;H:DM6PR12MB3868.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZuC2hf0/7Vlf9ilKB8Ikhrkzk+Mx/OK4v+0+5gQgY2capj3dIT8GdUQ9DSLN2rOi+afCBApzdDNCb1LVc6BLiBbVcpOv6eZD4NYiN7aqcDvWPe/A/3s2hkgeg9f2qULcGc31/2MPcm1o8iyfI8mO7noEMGf9Hw9rqQn2R14jEXqB+m1yFuUi+aJckBA3wTA0Ae3ohpbUsG3HsH+SnbWYtQudcq558iANQ5fPHnEXwHZ91rvHd5dtIXyRLj3smf4+1/L2ITcGOyPHqbPFYEvxAEhNax7Y00z1Z1aYtGPUW8RCOPAYn9E99Vmlpu0Ewr6jNxAp4c4A4xGK/25APsD5fuaIC2u1Ps4DUW0uERuJtyKfPII2fb1TyBJOTtMlMJFLGVtP5TeZzl0xkNl0hb4aXAqoqx7mKzJiN5z/B67EwpiKpPXECwMsTWoCodUc+zNo Content-Type: text/plain; charset="utf-8" Content-ID: <1E6B0AC370004A4895113F3306285261@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: d017786f-d7e4-483e-d06e-08d762c34245 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2019 14:11:47.0018 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: VuqRM8nqN1X5Ax3LMdxi6TTUyc98aIQMO8OCZPHVc2ooVOq39mtE45xNZ7acdBITThlmqLtOP2OSSmLQd9C07Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4235 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCk9uIDE4LzEwLzE5IDQ6MDkgUE0sIERhbiBDYXJwZW50ZXIgd3JvdGU6DQo+IE9uIFNhdCwg T2N0IDE5LCAyMDE5IGF0IDAyOjM1OjQ0QU0gKzA1MzAsIFJhdnVsYXBhdGkgVmlzaG51IHZhcmRo YW4gcmFvIHdyb3RlOg0KPj4gZGlmZiAtLWdpdCBhL3NvdW5kL3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