commit | 916d2baa6674d6dc6a88e81f34d06aec596afccc | [log] [tgz] |
---|---|---|
author | Ley Foon Tan <ley.foon.tan@intel.com> | Wed Aug 12 09:56:25 2020 +0800 |
committer | Ley Foon Tan <ley.foon.tan@intel.com> | Fri Oct 09 17:53:13 2020 +0800 |
tree | 3bf1fc2fbf67ce3d8832490ef68da9be3b301c3d | |
parent | 69b7ab9b44f7f3c37262c6d34fa31b39e4c95fb9 [diff] |
arm: socfpga: mailbox: Add mailbox retry support Resend mailbox command for 3 times with 2ms interval in between if it receives MBOX_RESP_TIMEOUT and MBOX_RESP_DEVICE_BUSY response code. Add a wrapper function mbox_send_cmd_common_retry() for retry, change all the callers to use this wrapper function. Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com> Signed-off-by: Chee Hong Ang <chee.hong.ang@intel.com>