OMAP3: serial: Check for zero-based physical addr
authorSergio Aguirre <saaguirre@ti.com>
Sat, 27 Feb 2010 20:13:43 +0000 (14:13 -0600)
committerSergio Aguirre <saaguirre@ti.com>
Mon, 15 Mar 2010 21:33:31 +0000 (16:33 -0500)
This is for protecting a wrong mapping attempt of a zero-based
physical address.

The result is that, no serial port will be attempted to be mapped.

Also add an additional protection for NULL clocks before attempting
to enable them (if above condition applies)

Signed-off-by: Sergio Aguirre <saaguirre@ti.com>

No differences found