Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp600484ybe; Thu, 19 Sep 2019 00:18:42 -0700 (PDT) X-Google-Smtp-Source: APXvYqxkNOsBWVMVyTIef6Upv7YTDYTUOX02ykAuRYXri2y3aayy88apd3WzQsFW6ZQWNwEuMtWO X-Received: by 2002:a50:f009:: with SMTP id r9mr14826031edl.195.1568877522162; Thu, 19 Sep 2019 00:18:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1568877522; cv=pass; d=google.com; s=arc-20160816; b=fjZcnPI8wEeM09vhOtDg9Xwx8HykWYwNd2UFhuXCBi6uUSoKVOBToDoQPARV1d0hMP 6PaWL6023ODbIk0xTdx1Ykdx/bPuk/pthI9UoCLUVtPokzYVbuUiekxArrebq9acIegX +hBUQG0oA5dxkdEVr416otJlZL5g3PAXKndEB87F62ECx7aCB21O63onDP+aUeDVAzJT tZoB/QoIKrRk/nzIwNzf1HAKu6COEnbfKmrxcnxv4v1tYtUbtNVw/+QuGpw0Yk05GHId KCrNAqBshPkqh6JvBHnv6GrQ9Ilg1zLO6y3Go40Z+g6GRK2KGO0DyOF/A6VBBISWo8nl ZKBg== 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-language:accept-language:message-id:date:thread-index :thread-topic:subject:to:from:dkim-signature; bh=51uYs/eundl+YXeL/YQa0zQL9WZBk9/Az0Kz3Ipen+8=; b=D0Ofbb69/ykkxlmtEWdaAfPVvkk8CNa6bLD4DuTDBZFG2p+Ht4Vhr9lVKrGiaHw06P Hsxtg6jAoAhSu6Br+VFpJI9F5LGyzCBY/AL87+gJpkWWqfSC1Zl4kMNzsOwkzaM/lUSo EjDFLM/w+qpaYe9ZDSAoKJze9BdaGpQZnYRRROn45dVVBmDlpbD9RTRgoqwaOjaE9585 cNioTWYcPFz4N4L71EbO5c9XgHWH4yuvbjX5aJocmyGX3QjFSz3+na5OyYnq+3X5ZaLR VidvFfX4WnFoFPJL31JOuT38PxzgsXP4Df08kfjCdUjtfWyjKbFye01mPwnehn1jfhT8 q9vA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=JFM4ifZJ; 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 l9si2666217ejq.164.2019.09.19.00.18.19; Thu, 19 Sep 2019 00:18:42 -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=selector2 header.b=JFM4ifZJ; 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 S2388493AbfISC6Z (ORCPT + 99 others); Wed, 18 Sep 2019 22:58:25 -0400 Received: from mail-eopbgr40049.outbound.protection.outlook.com ([40.107.4.49]:16006 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2388434AbfISC6Y (ORCPT ); Wed, 18 Sep 2019 22:58:24 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AKrQrIEmT1OWWgnUsKWHV7wmPrkIEifplatMoEB5PWZ5ezayDrK5uYNyzw492+vX2p5+0PoI8DejP2BeWYZ89BeqXPCIkN/IZfHQGOIwTfUzh53ELe/5kdOZ8fq2/Xfw23+yPE36yxBm6nJcLgQtjecVjjj9tKpROGKXW7TyiG4V+SDoUiFcpaOUgutb3/PNDAUi8YNjsVWFl7gxytJHO5o4XEUu/O3iBZhwGp38/6VJynByXNXOTaLoMn8HoVDCYnMgH9x+y2qY4fRrAMgx7+XCNfjl1LWoth+Tg+A3V6j+mXuNGoOfl2dHc+zqs7WhVl9HmVvdDZbdc7bKb8x6bw== 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=51uYs/eundl+YXeL/YQa0zQL9WZBk9/Az0Kz3Ipen+8=; b=X86yvyZ8BPvkX+XOwd1qTNCD717LhP4hYEfDN5nv7hzqgx4FezvX1cppGEbLTyLqQqMqCgZiSmp05OmXk7lhyhhCEQyRCFCjVm8e2dYLNMFJKf0V7Ob/9LSM5xpZfc+fnV2RFjDRXakV0SRc9o//RAooPDYYrZ8HoB0VlQNsdwn8mksdG0HtijllE+QgDEMiy04lmOSbQWFEkMocEKHKqsMokYwv65o2rk4ikO3TTDnhThJlSi1ec8IJZam6L+LXDszOcm0CRMfldYJ67AjNHJe1W8eVj9Gei0pWfPceaVRHlfqg+VUBNwdnO3c6QVlnnLxjwZCBHFqnILFmp6wwRQ== 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=51uYs/eundl+YXeL/YQa0zQL9WZBk9/Az0Kz3Ipen+8=; b=JFM4ifZJcm40NWvC5tGeGY0bs185uhVwzysuSCRxhEPCK8VieP3RcJaIHCOh0rRlYpvrrOGljLdCASEoYsLg6ft0LY6GI+YvC4ZSsCwnl3wDcf0EyCSrZ1iCZGcO5ccQ5Atqx8bRGZlr4aDzkK7Xnu4OHnr8zghp/kYE4MmoY4U= Received: from VE1PR04MB6479.eurprd04.prod.outlook.com (20.179.233.80) by VE1PR04MB6367.eurprd04.prod.outlook.com (10.255.118.80) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2284.20; Thu, 19 Sep 2019 02:58:21 +0000 Received: from VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::5049:d7e5:95ff:3d53]) by VE1PR04MB6479.eurprd04.prod.outlook.com ([fe80::5049:d7e5:95ff:3d53%7]) with mapi id 15.20.2284.009; Thu, 19 Sep 2019 02:58:21 +0000 From: "S.j. Wang" To: "S.j. Wang" , "timur@kernel.org" , "nicoleotsuka@gmail.com" , "Xiubo.Lee@gmail.com" , "festevam@gmail.com" , "lgirdwood@gmail.com" , "broonie@kernel.org" , "perex@perex.cz" , "tiwai@suse.com" , "alsa-devel@alsa-project.org" , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "devicetree@vger.kernel.org" , "lars@metafoo.de" Subject: RE: [PATCH V2 3/4] ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_set_runtime_hwparams Thread-Topic: [PATCH V2 3/4] ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_set_runtime_hwparams Thread-Index: AdVulgpRceddTBjmTiyBOqg5p/ADHg== Date: Thu, 19 Sep 2019 02:58:20 +0000 Message-ID: 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=shengjiu.wang@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: dcd07376-4cae-453f-1a18-08d73cad3ae3 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600167)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VE1PR04MB6367; x-ms-traffictypediagnostic: VE1PR04MB6367:|VE1PR04MB6367: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2331; x-forefront-prvs: 016572D96D x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(39860400002)(376002)(346002)(396003)(136003)(199004)(189003)(2201001)(6506007)(186003)(2906002)(256004)(316002)(486006)(66066001)(6246003)(55016002)(76116006)(66946007)(66476007)(71200400001)(71190400001)(7416002)(3846002)(74316002)(305945005)(6116002)(26005)(7736002)(102836004)(110136005)(52536014)(14454004)(99286004)(25786009)(229853002)(6436002)(7696005)(33656002)(64756008)(66556008)(66446008)(8936002)(81156014)(81166006)(86362001)(5660300002)(9686003)(476003)(2501003)(478600001)(4744005)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:VE1PR04MB6367;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: DZFHJgnCSbRhtyatIq0lOhFkfLIjJyLrEWkZ8MQt1kGk2kWBaf4Um+JZBf2JdV3lVP2ZuRplAhg/2ulNNv+MER27VoIJMUDFTwayWZ5zzu/Ox4ofbtoRsmG2pEn0VvL7PQ13mdLtAHtl3BGQi/Ji8SnDJx58m6fRb691Z4KbuJPExJq2aVBIcx4jm8ozOP9aWPc7X2LdIvk37iOFJGyJ3fFaMYST6PWx6cM6p/DfxdRrnEy6y+noJGAG3YIdzF5hvkU1UuSh5R0XB1jeab6EjbjMdbW49LoUSECHmRIN4f880gMAUyyqbbgIVbBP1OAy3MIckZja0riJ1Lm9ACNw6W69GT8WLvoPqUBk8MwUQGUdnwhOYMmdSx68ExdH8vkliPckIQnZkHpP7wNv8pN1Xc8pHbdyqazUkvNYP4wSmX0= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dcd07376-4cae-453f-1a18-08d73cad3ae3 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 Sep 2019 02:58:20.8716 (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: 3558+APjAGON0KcfHdcuyvIm6+AoVaBiXLTfb5tCMMAiXZ270CgzKhi0upRi1Pkssj2MwM1bMmSPEuxc7K7tYw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6367 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi >=20 > When set the runtime hardware parameters, we may need to query the > capability of DMA to complete the parameters. >=20 > This patch is to Extract this operation from > dmaengine_pcm_set_runtime_hwparams function to a separate function > snd_dmaengine_pcm_set_runtime_hwparams, that other components > which need this feature can call this function. >=20 > Signed-off-by: Shengjiu Wang > --- kbuild test robot report compile issue, will resend v3 after fixing. Best regards Wang shengjiu