[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1399549654.8165.1.camel@iivanov-dev>
Date: Thu, 08 May 2014 14:47:34 +0300
From: "Ivan T. Ivanov" <iivanov@...sol.com>
To: Rob Herring <robherring2@...il.com>
Cc: Grant Likely <grant.likely@...aro.org>,
linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Josh Cartwright <joshc@...eaurora.org>,
Courtney Cavin <courtney.cavin@...ymobile.com>,
Bjorn Andersson <bjorn@...o.se>,
Frank Rowand <frowand.list@...il.com>,
Rob Herring <robh@...nel.org>
Subject: Re: [PATCH 3/4] of/platform: fix device naming for non-translatable
addresses
On Wed, 2014-05-07 at 16:48 -0500, Rob Herring wrote:
> From: Rob Herring <robh@...nel.org>
>
> Using non-translatable addresses in platform device names is wrong
> because they may not be globally unique. Just use the default naming with
> a global index if the address cannot be translated instead.
>
> of_can_translate_address has the same checks as of_translate_address, so
> we can remove it here as well.
>
> Reported-by: "Ivan T. Ivanov" <iivanov@...sol.com>
> Cc: Josh Cartwright <joshc@...eaurora.org>
> Cc: Courtney Cavin <courtney.cavin@...ymobile.com>
> Cc: Bjorn Andersson <bjorn@...o.se>
> Cc: Frank Rowand <frowand.list@...il.com>
> Cc: Grant Likely <grant.likely@...aro.org>
> Signed-off-by: Rob Herring <robh@...nel.org>
Thanks. It works for me.
Tested-by: Ivan T. Ivanov <iivanov@...sol.com>
Regards.
--
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