diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-08-07 22:26:50 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-08-07 22:51:45 (GMT) |
commit | fc97114b8d67819fadcc5af855da9a3e6a6a329b (patch) | |
tree | f790c70af791b6ad25cffcb10218ace9dee52896 /net/rds/rdma.c | |
parent | f23c126bfabef88c201c8cc56bd3ccd9d59c51e0 (diff) | |
download | linux-fsl-qoriq-fc97114b8d67819fadcc5af855da9a3e6a6a329b.tar.xz |
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 <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/rds/rdma.c')
0 files changed, 0 insertions, 0 deletions