[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2265537.PORMnUrJPF@vostro.rjw.lan>
Date: Fri, 25 Sep 2015 23:40:33 +0200
From: "Rafael J. Wysocki" <rjw@...ysocki.net>
To: Stephen Boyd <sboyd@...eaurora.org>
Cc: Viresh Kumar <viresh.kumar@...aro.org>,
linaro-kernel@...ts.linaro.org, linux-pm@...r.kernel.org,
nm@...com, Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Len Brown <len.brown@...el.com>,
open list <linux-kernel@...r.kernel.org>,
Pavel Machek <pavel@....cz>
Subject: Re: [PATCH V2] PM / OPP: of_property_count_u32_elems() can return errors
On Tuesday, September 22, 2015 09:51:27 AM Stephen Boyd wrote:
> On 09/22, Viresh Kumar wrote:
> > of_property_count_u32_elems() will never return 0, but a -ve error value
> > of a positive count. And so the current !count check is wrong.
> >
> > Also, a missing "opp-microvolt" property isn't a problem and so we need
> > to do of_find_property() separately to confirm that.
> >
> > Fixes: 274659029c9d ("PM / OPP: Add support to parse "operating-points-v2" bindings")
> > Signed-off-by: Viresh Kumar <viresh.kumar@...aro.org>
> > ---
>
> Reviewed-by: Stephen Boyd <sboyd@...eaurora.org>
Applied, thanks!
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists