Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp182489imm; Sun, 8 Jul 2018 23:03:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcddvT7OERdDBtAEqzNOxsMMHdg8FnWOnuh74HxqxIdxvKlvKAJDCenKO+3SKkItdTP7w5s X-Received: by 2002:a62:4083:: with SMTP id f3-v6mr17398324pfd.229.1531116183488; Sun, 08 Jul 2018 23:03:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531116183; cv=none; d=google.com; s=arc-20160816; b=UIH9yNKXuBRkiWZzI9/LP901j3qMPD8IHBeQPEv7Xc6e6LpQaDBfaAo2P1L3UKQoFi VQHwSNBixSWCBymCynFtuCKsEOmZYie5aDVaSye+q4zZ9poVeh6EcvFTQ1mkmn7PaAWn MwOe5vnrysUBaGz/apl2s4xfOcrk5HwGWmW7BVyqidaL3lCGQ6YrVyghLr1AiAx1mPfu dyyY2K6xdghALxC765VSXK6oyuuICbNoToxtFHowncE0jRxmOfPrakRhVOVNsQ6ylxhR BLMN2M2B3tSwRK4TOkqGv4NIS4hJ+0THu/QbeJOG/0Jgmf0r0Pv5LRo9L+q7qO/zYFO0 MWrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=I2ZXfQhLIgn8akfiS610bxGL9vYcB2hPC2bQxQ/iWus=; b=IeHatQwaI2r1XVXEHWnMsoL4miZad+fQ5auLjmXchQlVjX06naA1voAvPUO9QKA8YU X2UjpTcZE7e7def0Q386vFd/muJsDSHgKJaLYuHcy7DYzAWTjgWa272C10P24qvBEhhl MHab2L7YFEkqOzxaPZZeRbLTrrnP5xPWmEtHFYSCUucXifXZUdjIPEfGmeVDK29sn5gc nKad1RUwYRxUcuOrLk6oQ6+/lBVJOGw+RGoTLY7QoXAG5N4W1cESKCLInV6YKwfX54Ff Ft9s84imYPbG0W68T056Cf2lSOAR4gr+YXle68u5Uke90a4k7P+RaSLqmn/ffX+yehJB 2+rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Pb0nADlk; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v12-v6si13164444pgk.523.2018.07.08.23.02.48; Sun, 08 Jul 2018 23:03:03 -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=@kernel.org header.s=default header.b=Pb0nADlk; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754515AbeGIGCI (ORCPT + 99 others); Mon, 9 Jul 2018 02:02:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:40434 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751388AbeGIGCG (ORCPT ); Mon, 9 Jul 2018 02:02:06 -0400 Received: from localhost (unknown [106.201.46.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2C3F2208DE; Mon, 9 Jul 2018 06:02:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531116125; bh=nd4c5b/OEjtDIckjiuLaxOf0BYgdhn8FEsW/E6e9TGU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Pb0nADlkUregHeLX/BYIvrLKt9aTOiM/4AIn5GyrJ1oK4RPrXB0HAkQFwJlq4shJg jOeidVxKkshM5Vh+eq/cXMateedAHJ6SxO29oeTWdcZ2EqSnk0PJNPnPfWBnrMfUjo 7ub31hAEahuCUZseUNLa5YweqmJt+GBjmzdljOdQ= Date: Mon, 9 Jul 2018 11:31:57 +0530 From: Vinod To: Timur Tabi Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Andersson , Matt Mackall , Herbert Xu , Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Stephen Boyd , Jeffrey Hugo Subject: Re: [PATCH v4 6/6] crypto: qcom: Add ACPI support Message-ID: <20180709060157.GZ22377@vkoul-mobl> References: <20180704114427.29953-1-vkoul@kernel.org> <20180704114427.29953-7-vkoul@kernel.org> <20180705060733.GH22377@vkoul-mobl> <38f34817-ff86-06b7-4aab-a009c353a6db@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <38f34817-ff86-06b7-4aab-a009c353a6db@kernel.org> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07-07-18, 13:05, Timur Tabi wrote: > On 7/5/18 1:07 AM, Vinod wrote: > > Yes we can add driver data in ACPI ID as well so code can be: > > > > if (!has_acpi_companion(&pdev->dev)) { > > rng->clk = devm_clk_get(&pdev->dev, "core"); > > if (IS_ERR(rng->clk)) > > return PTR_ERR(rng->clk); > > } > > rng->skip_init = device_get_match_data(&pdev->dev); > > > > Looks much neater. > > Yeah, I like it. > > > I will wait for feedback on other patches before updating this. > > Jeff said it works, so I guess v5 will be good to go. Yes posting that right now. It would be great if you folks can test again on ACPI systems Thanks -- ~Vinod