serial: imx: Disable irqs before requesting them
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 17 Jun 2015 20:35:43 +0000 (17:35 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 24 Jul 2015 00:37:53 +0000 (17:37 -0700)
commit8a61f0c70ae65c6b70d13228c3120c73d7425a60
tree0513fa4a3eba5fc68c678904a5b4265e42d5e749
parent1eacbfb06df9d37b743d0eedbeb9fd4f71190c98
serial: imx: Disable irqs before requesting them

Disable interrupts before requesting them in order to fix a kernel oops
after lauching a kernel via kexec.

Tested on a imx6sl-evk board.

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