# Re: \[PATCH\] omapfb: In omapfb\_probe return -EPROBE\_DEFER when display driver is not loaded yet

- From: Pavel Machek \<hidden\>
- Date: 2013-07-13 18:27:39 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2013/07/4081647
- Thread: https://ratatoskr.run/linux-omap/2013/07/4079997/t.md

```text
On Wed 2013-07-10 15:08:59, Pali Rohár wrote:
> * On RX-51 probing for acx565akm driver is later then for omapfb which cause that omapfb probe fail and framebuffer is not working
> * EPROBE_DEFER causing that kernel try to probe for omapfb later again which fixing this problem
> 
> * Without this patch display on Nokia RX-51 (N900) phone not working
> 
> Signed-off-by: Pali Rohár <redacted>

Tested-by: Pavel Machek <redacted>

(Actually, do we know which commit broke the ordering? We may want to
simply revert that one...)

BTW I'm currently trying to set-up automated scripts for n900/qemu
testing. I guess I'll try to run them on mainline kernel to catch such
stuff earlier.

One thing I'd like to know: how do you configure kernel to get output
on qemu? I was doing CONFIG_DEBUG_LL with specific uart, but that
needed patching the kernel, you apparently have something more clever.

I tried doing:

# CONFIG_DEBUG_LL is not set
CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S"
CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h"

but no output on console...

Thanks,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
```
