summaryrefslogtreecommitdiff
path: root/drivers/gpio/sandbox.c
diff options
context:
space:
mode:
authorLey Foon Tan <ley.foon.tan@intel.com>2020-08-12 09:56:25 +0800
committerLey Foon Tan <ley.foon.tan@intel.com>2020-10-09 17:53:13 +0800
commitde84e2d8c9e60452a2a1a6f99474d54a9919c024 (patch)
tree3bf1fc2fbf67ce3d8832490ef68da9be3b301c3d /drivers/gpio/sandbox.c
parent6a48f95c6be15f0b2cad49b9ba1b7e04374da641 (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>
Diffstat (limited to 'drivers/gpio/sandbox.c')
0 files changed, 0 insertions, 0 deletions