diff options
author | Michal Simek | 2020-10-05 15:23:00 +0200 |
---|---|---|
committer | Michal Simek | 2020-10-27 08:13:31 +0100 |
commit | f08d0c51b5738fd36748b72a8a98108c7ee1cba0 (patch) | |
tree | f6fa12f7e395ac366521a88c9cf3328802b0e91e /drivers/mailbox | |
parent | 5690128f70a1a4038629be0465d0aa53e7b05f27 (diff) |
mailbox: zynqmp: Extend timeout for getting observation bit
In case of fpga loading (which can be huge) 100ms is not enough. That's why
extend timeout 10 times to wait maximum 1s to get ACK back.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/mailbox')
-rw-r--r-- | drivers/mailbox/zynqmp-ipi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/zynqmp-ipi.c b/drivers/mailbox/zynqmp-ipi.c index 9483ed9cefc..847a03648b8 100644 --- a/drivers/mailbox/zynqmp-ipi.c +++ b/drivers/mailbox/zynqmp-ipi.c @@ -56,7 +56,7 @@ static int zynqmp_ipi_send(struct mbox_chan *chan, const void *data) /* Wait until observation bit is cleared */ ret = wait_for_bit_le32(&ipi_int_apu->obs, IPI_BIT_MASK_PMU0, false, - 100, false); + 1000, false); debug("%s, send %ld bytes\n", __func__, msg->len); return ret; |