Skip to content
Commit de84e2d8 authored by Ley Foon Tan's avatar Ley Foon Tan
Browse files

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: default avatarLey Foon Tan <ley.foon.tan@intel.com>
Signed-off-by: default avatarChee Hong Ang <chee.hong.ang@intel.com>
parent 6a48f95c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment