commit | ad9d364285b1b3363909a325545b720b02794122 | [log] [tgz] |
---|---|---|
author | Vatsal Bucha <vbucha@codeaurora.org> | Mon Jul 13 02:30:04 2020 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Sun Jul 26 03:33:23 2020 -0700 |
tree | 12477bb0aaeae247275911ffac421823dc6baf4d | |
parent | ead188cb70dac01923cda368996955fa7a17038d [diff] |
soc: swr-mstr: Avoid overflow during swr fifo read/write Avoid swr fifo overflow by checking no. of outstanding commands in fifo and comparing with fifo depth before every read/write. If no. of commands is equal to fifo depth then give some delay and retry. If no of outstanding commands are still equal to fifo depth then flush fifo and try writing/reading from fifo again. Change-Id: Ifd986c7affb70a61f8a90e4960a2779273a7d4d2 Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>