diff options
| author | satya priya <skakit@codeaurora.org> | 2020-02-11 15:43:02 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-02-28 17:22:19 +0100 |
| commit | 80990c30b7764858b89a94f9319027e854f018ba (patch) | |
| tree | 5ed205f95eacf9ed5f1fa263fe88896b8c14bcba /include | |
| parent | 5b0af5e5836838408ba2f8d3afba52f63aa37314 (diff) | |
tty: serial: qcom_geni_serial: Fix RX cancel command failure
commit 679aac5ead2f18d223554a52b543e1195e181811 upstream.
RX cancel command fails when BT is switched on and off multiple times.
To handle this, poll for the cancel bit in SE_GENI_S_IRQ_STATUS register
instead of SE_GENI_S_CMD_CTRL_REG.
As per the HPG update, handle the RX last bit after cancel command
and flush out the RX FIFO buffer.
Signed-off-by: satya priya <skakit@codeaurora.org>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/1581415982-8793-1-git-send-email-skakit@codeaurora.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
