[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180709060157.GZ22377@vkoul-mobl>
Date: Mon, 9 Jul 2018 11:31:57 +0530
From: Vinod <vkoul@...nel.org>
To: Timur Tabi <timur@...nel.org>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Bjorn Andersson <bjorn.andersson@...aro.org>,
Matt Mackall <mpm@...enic.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-arm-msm@...r.kernel.org, Stephen Boyd <swboyd@...omium.org>,
Jeffrey Hugo <jhugo@...eaurora.org>
Subject: Re: [PATCH v4 6/6] crypto: qcom: Add ACPI support
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
Powered by blists - more mailing lists