]> git.baikalelectronics.ru Git - kernel.git/commit
serial: mxs-auart: Disable clock on error path
authorFabio Estevam <fabio.estevam@nxp.com>
Fri, 9 Sep 2016 11:31:33 +0000 (08:31 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Sep 2016 16:54:34 +0000 (18:54 +0200)
commit30ca7cec5316cd5e6a9d4f211037903747461eeb
treef4e90974c11ba3d92c5ffa1f2263aee61b1f3043
parentd773c8a365ef7042a164177d646fa12b5dc72dd5
serial: mxs-auart: Disable clock on error path

We should disable the previously acquired clock when enabling s->clk
fails.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-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