From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <52824D1E.9080409@ti.com> Date: Tue, 12 Nov 2013 10:45:34 -0500 From: Santosh Shilimkar MIME-Version: 1.0 To: "Khoronzhuk, Ivan" Subject: Re: [PATCH 01/12] mtd: nand: davinci: fix driver registration References: <1384187188-5776-1-git-send-email-ivan.khoronzhuk@ti.com>, <1384187188-5776-2-git-send-email-ivan.khoronzhuk@ti.com> <4F5844B3A985794BA902E12C070812375F8CE2@DNCE04.ent.ti.com> In-Reply-To: <4F5844B3A985794BA902E12C070812375F8CE2@DNCE04.ent.ti.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Cc: Mark Rutland , "devicetree@vger.kernel.org" , "Strashko, Grygorii" , Russell King , Pawel Moll , Stephen Warren , Ian Campbell , Kumar Gala , Rob Herring , "linux-kernel@vger.kernel.org" , "linux-mtd@lists.infradead.org" , Rob Landley , "linux-arm-kernel@lists.infradead.org" List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Monday 11 November 2013 11:52 AM, Khoronzhuk, Ivan wrote: > > When kernel is booted using DT, there is no guarantee that Davinci > NAND device has been created already at the time when driver init > function is executed. Therefore, platform_driver_probe() can't be used > because this may result the Davinci NAND driver will never be probed. > The driver probing has to be made with core mechanism. > > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Santosh Shilimkar From mboxrd@z Thu Jan 1 00:00:00 1970 From: santosh.shilimkar@ti.com (Santosh Shilimkar) Date: Tue, 12 Nov 2013 10:45:34 -0500 Subject: [PATCH 01/12] mtd: nand: davinci: fix driver registration In-Reply-To: <4F5844B3A985794BA902E12C070812375F8CE2@DNCE04.ent.ti.com> References: <1384187188-5776-1-git-send-email-ivan.khoronzhuk@ti.com>, <1384187188-5776-2-git-send-email-ivan.khoronzhuk@ti.com> <4F5844B3A985794BA902E12C070812375F8CE2@DNCE04.ent.ti.com> Message-ID: <52824D1E.9080409@ti.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Monday 11 November 2013 11:52 AM, Khoronzhuk, Ivan wrote: > > When kernel is booted using DT, there is no guarantee that Davinci > NAND device has been created already at the time when driver init > function is executed. Therefore, platform_driver_probe() can't be used > because this may result the Davinci NAND driver will never be probed. > The driver probing has to be made with core mechanism. > > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Santosh Shilimkar From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755701Ab3KLPqP (ORCPT ); Tue, 12 Nov 2013 10:46:15 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:48917 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752448Ab3KLPqM (ORCPT ); Tue, 12 Nov 2013 10:46:12 -0500 Message-ID: <52824D1E.9080409@ti.com> Date: Tue, 12 Nov 2013 10:45:34 -0500 From: Santosh Shilimkar User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: "Khoronzhuk, Ivan" CC: Rob Landley , Russell King , "devicetree@vger.kernel.org" , Pawel Moll , Mark Rutland , Rob Herring , Stephen Warren , Kumar Gala , Ian Campbell , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-mtd@lists.infradead.org" , "Strashko, Grygorii" Subject: Re: [PATCH 01/12] mtd: nand: davinci: fix driver registration References: <1384187188-5776-1-git-send-email-ivan.khoronzhuk@ti.com>,<1384187188-5776-2-git-send-email-ivan.khoronzhuk@ti.com> <4F5844B3A985794BA902E12C070812375F8CE2@DNCE04.ent.ti.com> In-Reply-To: <4F5844B3A985794BA902E12C070812375F8CE2@DNCE04.ent.ti.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Monday 11 November 2013 11:52 AM, Khoronzhuk, Ivan wrote: > > When kernel is booted using DT, there is no guarantee that Davinci > NAND device has been created already at the time when driver init > function is executed. Therefore, platform_driver_probe() can't be used > because this may result the Davinci NAND driver will never be probed. > The driver probing has to be made with core mechanism. > > Signed-off-by: Ivan Khoronzhuk > --- Acked-by: Santosh Shilimkar