]> git.karo-electronics.de Git - linux-beck.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)
commit343fda95481a7254fd81342370ba04ab255f95fe
tree190c488e01550c5d7465502c13b7e324be151913
parentf059a455fc979e0e7f155d98bf628fccab1c5b88
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