On Thu, Aug 2, 2012 at 5:08 PM, Aaro Koskinen <aaro.koski...@iki.fi> wrote:
> This reverts commit 9fdca9dfe093c76fe1ac1a09888ba9679d46996a.
>
> Changing omap2_mcspi_init() from subsys_initcall to device_initcall broke
> the display initialization on N900 when all the drivers are compiled
> built-in. Display subsystem drivers need a certain initialization order
> and having all of them initialize with device_initcall seems to be too
> fragile. Without this revert the display init fails and the boot hangs
> with the following messages:
>
> [    1.260955] acx565akm spi1.2: invalid display ID
> [    1.265899] panel-acx565akm display0: acx_panel_probe panel detect error
> [    1.273071] omapdss CORE error: driver probe failed: -19

The dependencies are all messed up. The reverted commit is part of
fixing that and I don't really want to go backwards on it. How many
drivers are failing? Can you try modifying the failure path of those
drivers to return -EPROBE_DEFER and see if that helps?

g.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
spi-devel-general mailing list
spi-devel-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to