]> git.baikalelectronics.ru Git - kernel.git/commit
omap2/3: make serial_in_override() address the right uart port
authorAlexander Shishkin <virtuoso@slind.org>
Fri, 8 Jan 2010 18:29:06 +0000 (10:29 -0800)
committerTony Lindgren <tony@atomide.com>
Fri, 8 Jan 2010 18:29:06 +0000 (10:29 -0800)
commit7b05f4aced0e694591d8e476abb415a2b7767be5
tree69acba1ad11e9b3e4e79efdd63002557864ffeaf
parent72552444a54a186f492692f0352c3e8e36b08872
omap2/3: make serial_in_override() address the right uart port

Commit 54b656be3b9366544875a353a2858e277be46dd5 makes it possible to
have some other than first uart port as ttyS0, which breaks the workaround
serial_in_override() function which will try to address the first uart
port (for ttyS0) and not the one that was initialized.

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
CC: Mika Westerberg <ext-mika.1.westerberg@nokia.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/serial.c