]> git.baikalelectronics.ru Git - kernel.git/commit
serial: mxs-auart: properly handle mctrl_gpio failing
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Thu, 12 Feb 2015 14:24:40 +0000 (15:24 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 02:15:03 +0000 (03:15 +0100)
commit50458f07f588fa4073c670f97b0985c5c5e04166
tree190c488e01550c5d7465502c13b7e324be151913
parent5d6b73a5b0731fd9ab91869165a80b30fa67858d
serial: mxs-auart: properly handle mctrl_gpio failing

If mctrl_gpio_init returns an error code this value should be forwarded and
the driver must not simply ignore this failure.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c