serial: msm_geni_serial: Perform Abort sequence for cancel failure
Currently driver performing Abort sequence only when we seeing timeout
for Cancel interrupt. When there is a race condition between rx data
coming into rx fifo and a cancel_s_cmd is given. The rx data will end
up consuming the rx dma buffer mapped for cancel command and due to
this geni secondary sequencer will be in active state even after
cancel command.
This changes is to check for geni status after cancel operation. If geni
is active perform abort sequence.
Change-Id: I1b463284b48eb940de342da6df9233157d48f469
Signed-off-by:
Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Loading
Please register or sign in to comment