Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3990385yba; Wed, 17 Apr 2019 02:08:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWfWwnxL0qMjqLop8bcnXEujWZKQem+NP2Vyrp4QrHJ/ld4UBuJ3L7h04GvDaXDDLoXel9 X-Received: by 2002:a17:902:e287:: with SMTP id cf7mr60094449plb.217.1555492098856; Wed, 17 Apr 2019 02:08:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555492098; cv=none; d=google.com; s=arc-20160816; b=MmeEnAMYiGSPu86QT0QRhx5So+tI4mJgVO5pVLYCFkpfGZEOGLoXTuZdxdRdBg2J6K 9Z1H+f0YjFnkRtntVkToOKgVN0Bhn4ZSyOiqB70ZjLPFh/fSlca6Fsi2Bo2hOYFlzmD2 Gqx1s9oXdXjc9XhOIzl1geyrP9O0A3bjtsTI+y0Jm46Vc940wpLO6pblUx9orD0Jehsq WlUmczepJUb3d5V7fyxUBb7BfVxjgwhJwq+vOVilVNdPuQn/ULjPXsEsXoMD6cVeOTMW SQRX2e5Q0xOCJcc1WlUf11IcBrVy1flnxOYtqnqNRRWf0mxwpHq7IFyBulINM+SAav3E hb/g== 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=ejwozXe/qSLAFdUNNbkxWJLvWSxrTW3V3L3rr8d66Hw=; b=aBXgfJaQ18tPuYm5O5L73p3LnB0O5qIOwNxx/MUuewzVA/+RF/Ovtua6LlLzmvQCWB vyKdJjXElcuU6Z9zCFCV4F5VLcqO6KTYSSsy+l1XYPdUie+FRYeymfliz3JDNcg1UXzz vN87GkdKKYtWhzAkvnmKF+thu+eiwjeCp+nWYuAcd8zOTOifuJkR6JjE4I6cGDildi6e SQqqNRBpW7X0ODVDsSIRwBgbOiEpTWI1+MOlSX9T0ACjXKXpYhS+uxJ5zvaPbN+hdS49 rsB86PEVmXkMGZpkyKzvZzobV6iBiofSHqtQaVwn9CUXnXTFKT8b46oKYD9h7OH5O6Uq TSDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=Sd9J+Pb6; 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 e184si44057065pfe.118.2019.04.17.02.08.03; Wed, 17 Apr 2019 02:08:18 -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=@nxp.com header.s=selector1 header.b=Sd9J+Pb6; 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 S1731498AbfDQJG2 (ORCPT + 99 others); Wed, 17 Apr 2019 05:06:28 -0400 Received: from mail-eopbgr00050.outbound.protection.outlook.com ([40.107.0.50]:20982 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728143AbfDQJG0 (ORCPT ); Wed, 17 Apr 2019 05:06:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ejwozXe/qSLAFdUNNbkxWJLvWSxrTW3V3L3rr8d66Hw=; b=Sd9J+Pb6IfpV2sPmIJPqH5042KXcsq7+0xZXoT6y9li2m1mb60pGNFMEdfEnFSpRzpH1uTBivYs2nBSWk+cU8mdp26DKaA4YxlheUaQAlvYYW0gNMNeX81OpGdI/4Z14+czw+ClBN5WC6o2SLtDRQULKr3275gLFB8k/qKcE+98= Received: from VE1PR04MB6479.eurprd04.prod.outlook.com (20.179.233.80) by VE1PR04MB6640.eurprd04.prod.outlook.com (20.179.235.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.19; Wed, 17 Apr 2019 09:06:21 +0000 Received: from VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::6c03:86ad:729d:e311]) by VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::6c03:86ad:729d:e311%7]) with mapi id 15.20.1792.018; Wed, 17 Apr 2019 09:06:21 +0000 From: "S.j. Wang" To: "timur@kernel.org" , "nicoleotsuka@gmail.com" , "Xiubo.Lee@gmail.com" , "festevam@gmail.com" , "broonie@kernel.org" , "alsa-devel@alsa-project.org" CC: "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Subject: [PATCH V3 2/2] ASoC: fsl_asrc: Unify the supported input and output rate Thread-Topic: [PATCH V3 2/2] ASoC: fsl_asrc: Unify the supported input and output rate Thread-Index: AQHU9PzTf5/RjOTGYEC7R83AVx/JJw== Date: Wed, 17 Apr 2019 09:06:21 +0000 Message-ID: <494cdc7019d8e8d98c0e5837fc5f28624213288b.1555491598.git.shengjiu.wang@nxp.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-mailer: git-send-email 1.9.1 x-clientproxiedby: HK0PR01CA0039.apcprd01.prod.exchangelabs.com (2603:1096:203:3e::27) To VE1PR04MB6479.eurprd04.prod.outlook.com (2603:10a6:803:11e::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=shengjiu.wang@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: f2beb889-5285-4f22-4495-08d6c313f5bb x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600140)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:VE1PR04MB6640; x-ms-traffictypediagnostic: VE1PR04MB6640: x-microsoft-antispam-prvs: x-forefront-prvs: 0010D93EFE x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(39860400002)(366004)(376002)(396003)(136003)(199004)(189003)(54906003)(53936002)(99286004)(118296001)(110136005)(186003)(102836004)(26005)(6506007)(386003)(8676002)(68736007)(478600001)(81166006)(81156014)(2201001)(50226002)(86362001)(6436002)(8936002)(305945005)(2501003)(6486002)(36756003)(7736002)(14454004)(71190400001)(256004)(105586002)(6116002)(19627235002)(25786009)(71200400001)(6512007)(97736004)(106356001)(5660300002)(14444005)(11346002)(76176011)(2616005)(446003)(476003)(486006)(316002)(2906002)(3846002)(4326008)(52116002)(66066001);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6640;H:VE1PR04MB6479.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: ufSDeDyCxdMi4y5C8PCf+Z6ADz8r/U8xyyBe+NcBnlXmIbvJYMHv6uc4RyE7w9CA9BOsjVEH6yq+lsJiV5zLVU11FBGILQirps6fm8gZyqIaYH531H4kNN6qckRC4YvUiOlE5jdbNoVqyAcXvhSnYxZlqvhGpD7Zx0a1s4GuwVlL+qMzgckELtaUG06XkXzqFTC3Ed2/D6ujc2SJ0SWR4C9U20tIQpC2awyEFqrzFCRUEwzOmBMzs69oLSAXAiqABWMEDPUp0pCwiOmFVonsQ0JCSY9DI1D3IW2vdRwwHT5OF4zdgQOroTiJXAIAo0iDHthE9DMxwqj8UnrtuLEPvX9FKg5GVlkQAyLM6tbKC1RPAH3SiFaFmJelJhToLFFUaE0GG9aBbV+6iolrr4Y7mkkieFg0a7xtHtdCNVZubPM= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2beb889-5285-4f22-4495-08d6c313f5bb X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Apr 2019 09:06:21.8993 (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-Transport-CrossTenantHeadersStamped: VE1PR04MB6640 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org VW5pZnkgdGhlIHN1cHBvcnRlZCBpbnB1dCBhbmQgb3V0cHV0IHJhdGUsIGFkZCB0aGUNCjEya0h6 LzI0a0h6LzEyOGtIeiB0byB0aGUgc3VwcG9ydCBsaXN0DQoNClNpZ25lZC1vZmYtYnk6IFNoZW5n aml1IFdhbmcgPHNoZW5naml1LndhbmdAbnhwLmNvbT4NCi0tLQ0KIHNvdW5kL3NvYy9mc2wvZnNs X2FzcmMuYyB8IDMwICsrKysrKysrKysrKysrKysrKy0tLS0tLS0tLS0tLQ0KIDEgZmlsZSBjaGFu Z2VkLCAxOCBpbnNlcnRpb25zKCspLCAxMiBkZWxldGlvbnMoLSkNCg0KZGlmZiAtLWdpdCBhL3Nv dW5kL3NvYy9mc2wvZnNsX2FzcmMuYyBiL3NvdW5kL3NvYy9mc2wvZnNsX2FzcmMuYw0KaW5kZXgg ZDM0ZDUzOWQwMWYyLi5iMGQxOWI3ODdiYjggMTAwNjQ0DQotLS0gYS9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