tty: serial: mxs-auart: Check the return value from clk_prepare_enable()
commit9bbc3dca9d2212f900396ab9642c48279657a8c0
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Dec 2013 03:17:58 +0000 (2 01:17 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Dec 2013 01:14:58 +0000 (8 17:14 -0800)
tree39490e44fb46380d78d13223a70640a800b59988
parent753023dcdd2da515f991aa0e6a65016713f0c24f
tty: serial: mxs-auart: Check the return value from clk_prepare_enable()

clk_prepare_enable() may fail, so let's check its return value and propagate it
in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/mxs-auart.c