sh: fix Oops in the serial SCI driver
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Fri, 21 May 2010 15:22:40 +0000 (15:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 22 May 2010 08:06:34 +0000 (17:06 +0900)
commit85b8e3ffc47b2a1913be3079e9f1c1f66a6240b2
tree4eb1948eb62060280f5d57030dfb13edae049103
parentbb0fe533514c1d480c6c16f8bad070270a73a96c
sh: fix Oops in the serial SCI driver

Fix an Oops, triggering, if the DMA buffer allocation for the Rx channel in
sh-sci.c fails.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/serial/sh-sci.c