serial: msm_geni_serial: Fix DMA RX FSM reset sequence
Update the DMA RX FSM reset sequence as per HPG recommendations.
Currently driver calling msm_geni_serial_rx_fsm_rst() even in case of
RX inactive. RX FSM reset command generates RX_RESET_DONE bit. There
is a possible race between polling for RX_RESET and ISR for RX_RESET.
This can result into introducing delay during BT open.
Fix this by updating RX FSM reset sequence only in case of
cancel command timeout.
Change-Id: I90532aa72fdad462a616eded3e149bc6b721fe7b
Signed-off-by:
Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Loading
Please register or sign in to comment