]> git.baikalelectronics.ru Git - kernel.git/commit
omap: Disable serial port autoidle by default
authorTony Lindgren <tony@atomide.com>
Mon, 1 Feb 2010 20:34:31 +0000 (12:34 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 3 Feb 2010 16:48:06 +0000 (08:48 -0800)
commitb46af2b3c40e69e7d26a40bd23343df4c2c1b71e
tree61f64993b3234f3532a003f6bf8835f2263377c8
parenta773ce03096adfa75d7f39fcf0a261749980d44a
omap: Disable serial port autoidle by default

Currently the omap serial clocks are autoidled after 5 seconds.
However, this causes lost characters on the serial ports. As this
is considered non-standard behaviour for Linux, disable the timeout.

Note that this will also cause blocking of any deeper omap sleep
states.

To enable the autoidling of the serial ports, do something like
this for each serial port:

# echo 5 > /sys/devices/platform/serial8250.0/sleep_timeout
# echo 5 > /sys/devices/platform/serial8250.1/sleep_timeout
...

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/serial.c