Thread (8 messages) 8 messages, 3 authors, 2012-09-07
DORMANTno replies REVIEWED: 5 (5M)

[PATCH] serial: omap: fix DeviceTree boot

From: tony@atomide.com (Tony Lindgren)
Date: 2012-09-07 18:26:39
Also in: linux-omap, linux-serial

* Felipe Balbi [off-list ref] [120907 11:15]:
OMAP Architecture code, passes a few function
pointers for UART driver to use in order to
properly implement Power Management and Wakeup
capabilities.

The problem is that those function pointers,
which are passed (ab)using platform_data on
non-DT kernels, can't be passed down to drivers
through DT.

commit e5b57c0 (serial: omap: define helpers
for pdata function pointers) failed to take DT
kernels into consideration and caused a regression
to DT kernel boot.

Fix that by (re-)adding a check for valid pdata
pointer together with valid pdata->$FUNCTION
pointer.

Reported-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <redacted>
---

Tony, does this solve the issue ?
Yes thanks console works again now:

Tested-by: Tony Lindgren <tony@atomide.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help