msm_serial_hs : Disable UART interrupts till set_termios is completed

Set_termios() is called to set required baud rate and UART protocol
configuration. It also flushes previously queued Rx cmd to DMA engine
(i.e. BAM Lite). If any UART interrupts (e.g. Rx Stale ) is received
before flushing Rx cmd to DMA engine, used state machine is not able
to handle the situation and devices crashes with BUG_ON condition in
msm_hs_shutdown(). Hence disable interrupts as set_termios() is called
and enables only when returning from the same.

CRs-Fixed: 449227
Change-Id: I0696d5a26cf644d7793739c8ca1f0ea6e285bf94
Signed-off-by: Saket Saurabh <ssaurabh@codeaurora.org>
1 file changed