omap: clock: not all clocks have .round_rate

Protect clk_set_rate function from the case where a clock does
not have a round_rate function pointer.  In such a case we simply
continue with the assumption that the rate passed into clk_set_rate
is OK.

This seems a bit dubious but if a clock does not have a round_rate
it is assumed it also does not have a set_rate function and will be
handled properly by clk_set_rate.

Change-Id: Ib0cce595fe42bbb450cb91196727b14823900bfe
Signed-off-by: Mike Turquette <mturquette@ti.com>
Signed-off-by: Margarita Olaya <magi.olaya@ti.com>
omap: rpmsg: sleep while recovering from mbox null situation

Mbox null situation, due to the auto-suspend path happening at the
same time a new message is trying to be sent, was workarounded by
trying to wake up Ducati in a loop. However the loop was not giving
the chance for the suspending path to completes. So, Ducati was never
wake it up again since it is necesary to be in suspended state.

This patch adds an sleep that gives a chance for the suspending path
to completes before trying to wake Ducati up again.

Change-Id: Ic6ecffc40f6651aef482d49da93086445fd391e2
Signed-off-by: Juan Gutierrez <jgutierrez@ti.com>
Signed-off-by: Fernando Guzman Lugo <fernando.lugo@ti.com>
Input: omap4-keypad: add suspend resume handlers

Add a suspend resume handler that will allow a
function pointer to be defined on board files to set or
clear a pad wakup bit.

Change-Id: I2264bc8d48f02f69c24fed528759c13fdbb12c60
Signed-off-by: Axel Haslam <axelhaslam@ti.com>
arm: omap: usb: Fix the compilation break for EHCI and OHCI

This patch adds the missing defines that are needed
for compiling EHCI/OHCI drivers.

Change-Id: Ie9cda8c6aa8025338e02b9e1f9222d9b02137f7d
Signed-off-by: Moiz Sonasath <m-sonasath@ti.com>