From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tabi Timur-B04825 Subject: Re: issues calling of_platform_bus_probe() twice Date: Sun, 18 Mar 2012 16:14:23 +0000 Message-ID: <4F6609DE.2050001@freescale.com> References: <31B4E554-FA95-431D-B353-92680CD14A0A@kernel.crashing.org> <1331933034.3105.171.camel@pasglop> <20120317072717.738953E08CE@localhost> <4F649304.9010001@freescale.com> <20120318090804.C70493E060A@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20120318090804.C70493E060A@localhost> Content-Language: en-US Content-ID: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org To: Grant Likely Cc: "dbaryshkov-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" , "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Discuss" , "linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org list" List-Id: devicetree@vger.kernel.org Grant Likely wrote: > That's because you're using it wrong. of_platform_bus_probe() creates > platform devices at the starting level and every level below it as > described by the bus ids. It is illegal to call of_platform_bus_probe() > twice at the same level in the DT. Well, *I* am not using it wrong. Notice that my patch fixes (or works around) the commit that *did* do it wrong: http://patchwork.ozlabs.org/patch/126289/ -- Timur Tabi Linux kernel developer at Freescale