Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751731AbbBMCJJ (ORCPT ); Thu, 12 Feb 2015 21:09:09 -0500 Received: from ns.mm-sol.com ([37.157.136.199]:37608 "EHLO extserv.mm-sol.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751322AbbBMCJI (ORCPT ); Thu, 12 Feb 2015 21:09:08 -0500 Message-ID: <54DD5CAF.9040006@mm-sol.com> Date: Fri, 13 Feb 2015 04:08:47 +0200 From: Stanimir Varbanov User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: "Matwey V. Kornilov" CC: linux-kernel , Bjorn Helgaas , Greg Kroah-Hartman , Mohit KUMAR , "linux-pci@vger.kernel.org" , Viresh Kumar Subject: Re: [PATCHv2 1/2] pci: spear: Use platform_driver_probe instead of platform_driver_register References: <1423585882-5464-1-git-send-email-matwey@sai.msu.ru> <54DB0A52.4090907@mm-sol.com> <54DB1EAC.3060302@mm-sol.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1152 Lines: 36 Hi, On 02/12/2015 11:07 AM, Matwey V. Kornilov wrote: > 2015-02-11 12:19 GMT+03:00 Stanimir Varbanov : >> please don't top posting. >> >> On 02/11/2015 10:38 AM, Matwey V. Kornilov wrote:HI >> >>> It sounds reasonable, but does current implementation support deferring? >> >>thor >> yes, it uses deferred probe see devm_phy_get() and devm_clk_get() calls in >> .probe and how the returned values are checked. >> >>> Struct spear13xx_pcie_driver just dissapears from memory after init. >> >> >> IMO this is expected because spear13xx_pcie_driver is annotated as >> __initdata. > > The question was how deferred probe had been expected to work? When > probe has been deferred at first attempt, then second attempt > performed after init section, so proble() function must be available,at > but it is not. Isn't it? > That is questionable, maybe it works by chance?. regards, Stan -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/