diff options
author | Franck LENORMAND <franck.lenormand@nxp.com> | 2020-03-26 11:18:28 +0100 |
---|---|---|
committer | Franck LENORMAND <franck.lenormand@nxp.com> | 2020-04-24 11:46:22 +0200 |
commit | 0c545276cffae4f44749dd8d20a9f0f11ce45c9a (patch) | |
tree | ba6e9ef8b13bfeea9ee6a2dd96dfbe81935e1ded /sound/soc/fsl/fsl_xcvr.c | |
parent | 1edd6bc2e9cafb513aba32b697baec68e04ccb63 (diff) |
HSM-267-3: mailbox: imx: Add timeout based on jiffies
The remote processor can take some time to read/write to
the MU and the previous timeout was not based on a temporal
value. It is better to use a temporal variable so the code
will always have the same behavior.
There is no specification about the timeout to set, just to have
something in the range of few seconds, so chosen 3.
This patch changes the timeout to be based on time.
Signed-off-by: Franck LENORMAND <franck.lenormand@nxp.com>
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Diffstat (limited to 'sound/soc/fsl/fsl_xcvr.c')
0 files changed, 0 insertions, 0 deletions