[PATCH typo-resend] mtd: omap: fix mtd devices not showing up

Ezequiel Garcia ezequiel at vanguardiasur.com.ar
Tue Oct 28 01:58:20 PDT 2014



On 10/28/2014 05:57 AM, Frans Klaver wrote:
> On Mon, Oct 27, 2014 at 04:27:45PM -0300, Ezequiel Garcia wrote:
>>
>> On 10/27/2014 10:56 AM, Roger Quadros wrote:
>>
>>> Alternatively we could fix either elm_config() or omap_nand_probe() to
>>> return -EPROBE_DEFER in case the device is present but driver not yet probed.
>>>
>>
>> Yes, that's a good idea. Can't we do both? Getting a systematic deferred
>> probe sounds like a bit silly to me.
> 
> It may be. If we do both and something moves again, or something is
> added that depends on omap_elm but is probed earlier, you won't be
> noticing the new systematic probe deferral until you really start
> looking at it.
> 

That's correct. Relying on the link order is very fragile.

> There isn't a real dependency system in the drivers, is there?
> 

Nope.

-- 
Ezequiel Garcia, VanguardiaSur
www.vanguardiasur.com.ar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20141028/85cdae18/attachment.sig>


More information about the linux-mtd mailing list