From: Rafael J. Wysocki Date: Sun, 7 Aug 2011 22:26:50 +0000 (+0200) Subject: sh: Fix boot crash related to SCI X-Git-Tag: v3.1-rc1~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc97114b8d67819fadcc5af855da9a3e6a6a329b;p=pandora-kernel.git sh: Fix boot crash related to SCI Commit d006199e72a9 ("serial: sh-sci: Regtype probing doesn't need to be fatal.") made sci_init_single() return when sci_probe_regmap() succeeds, although it should return when sci_probe_regmap() fails. This causes systems using the serial sh-sci driver to crash during boot. Fix the problem by using the right return condition. Signed-off-by: Rafael J. Wysocki Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed