Return-Path: Received: from mail-eopbgr80074.outbound.protection.outlook.com ([40.107.8.74]:6992 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730397AbeJQBOk (ORCPT ); Tue, 16 Oct 2018 21:14:40 -0400 From: Leonard Crestez To: "festevam@gmail.com" CC: dl-linux-imx , "linux-kernel@vger.kernel.org" , "robh+dt@kernel.org" , "devicetree@vger.kernel.org" , Fabio Estevam , Aymen Sghaier , Franck Lenormand , "mark.rutland@arm.com" , "shawnguo@kernel.org" , "linux-arm-kernel@lists.infradead.org" , "davem@davemloft.net" , Horia Geanta , "kernel@pengutronix.de" , "herbert@gondor.apana.org.au" , "marek.vasut@gmail.com" , "linux-crypto@vger.kernel.org" Subject: Re: [PATCH v3 2/4] crypto: mxs-dcp - Add support for dcp clk Date: Tue, 16 Oct 2018 17:23:11 +0000 Message-ID: References: In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-ID: <55D657036B547E4D91B7FD5CB5FEA6B4@eurprd04.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org List-ID: T24gVHVlLCAyMDE4LTEwLTE2IGF0IDEzOjAzIC0wMzAwLCBGYWJpbyBFc3RldmFtIHdyb3RlOg0K PiA+ICsgICAgICAgLyogRENQIGNsb2NrIGlzIG9wdGlvbmFsLCBvbmx5IHVzZWQgb24gc29tZSBT T0NzICovDQo+ID4gKyAgICAgICBzZGNwLT5kY3BfY2xrID0gZGV2bV9jbGtfZ2V0KGRldiwgImRj cCIpOw0KPiA+ICsgICAgICAgaWYgKElTX0VSUihzZGNwLT5kY3BfY2xrKSkgew0KPiA+ICsgICAg ICAgICAgICAgICBpZiAoc2RjcC0+ZGNwX2NsayAhPSBFUlJfUFRSKC1FTk9FTlQpKQ0KPiA+ICsg ICAgICAgICAgICAgICAgICAgICAgIHJldHVybiBQVFJfRVJSKHNkY3AtPmRj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