]> git.baikalelectronics.ru Git - kernel.git/commit
serial: sh-sci: Fix up default regtype probing.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 3 Aug 2011 03:33:20 +0000 (12:33 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 3 Aug 2011 03:33:20 +0000 (12:33 +0900)
commit53d968609fe9edbaeecadfcebb0bbe4cd34c5e83
treedcd5414fa3a8cb0d8c55eddde6d6699016d8058e
parent81775635ea288d6818170cb1b0cf79017aaa5aef
serial: sh-sci: Fix up default regtype probing.

Presently the default regtype probing inadvertently bails out due to an
inverted error check. This fixes it up, and gets platforms without
explicit regtype specifications working again.

Reported-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/tty/serial/sh-sci.c