diff options
author | Felipe Balbi <balbi@ti.com> | 2012-09-07 21:10:33 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-10 16:31:09 -0700 |
commit | ce2f08ded291188b684e3d2e9940132514ada0a9 (patch) | |
tree | 80608ab21d2c790cddc8491821d142bd50809b56 /drivers/cpuidle | |
parent | e36851d0fa94b0f7802b3cc80406dbd3ef4f2f16 (diff) | |
download | blackbird-obmc-linux-ce2f08ded291188b684e3d2e9940132514ada0a9.tar.gz blackbird-obmc-linux-ce2f08ded291188b684e3d2e9940132514ada0a9.zip |
serial: omap: fix DeviceTree boot
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 <balbi@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions