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)
commitad75b88ac3792ae6a541d9b9fa84e379bd0b29dd
treedcd5414fa3a8cb0d8c55eddde6d6699016d8058e
parentc027a474a68065391c8773f6e83ed5412657e369
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