mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
Revert "rpmsg: glink: Set tail pointer to 0 at end of FIFO"
This reverts commit06e60a45a4. This is a preparation change for merging android-5.4.6 into msm-5.4 branch. Same delta was already committed via:f1d8e56eb5rpmsg: Add snapshot of RPMSG drivers for lahaina Change-Id: Ib3b722b93e89ba048ad8965c7ad2e8d1d5d9f75f Signed-off-by: Blagovest Kolenichev <bkolenichev@codeaurora.org>
This commit is contained in:
parent
6216cd68c1
commit
7229ee822d
1 changed files with 1 additions and 1 deletions
|
|
@ -105,7 +105,7 @@ static void glink_smem_rx_advance(struct qcom_glink_pipe *np,
|
|||
tail = le32_to_cpu(*pipe->tail);
|
||||
|
||||
tail += count;
|
||||
if (tail >= pipe->native.length)
|
||||
if (tail > pipe->native.length)
|
||||
tail -= pipe->native.length;
|
||||
|
||||
*pipe->tail = cpu_to_le32(tail);
|
||||
|
|
|
|||
Loading…
Reference in a new issue