diff options
author | Prashant Malani <pmalani@chromium.org> | 2021-09-28 03:19:30 -0700 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-10-11 15:32:22 +0200 |
commit | f32c34d6cfbb3d1f1c26f223cb549cca9767cfbd (patch) | |
tree | 4a541046b3e7af0508b80cda5112e0126190f9df /drivers/mailbox/imx-mailbox.c | |
parent | 6550ba689343811ef1d4b87be8d273988d4648d5 (diff) |
platform/x86: intel_scu_ipc: Fix busy loop expiry time
The macro IPC_TIMEOUT is already in jiffies (it is also used like that
elsewhere in the file when calling wait_for_completion_timeout()). Don’t
convert it using helper functions for the purposes of calculating the
busy loop expiry time.
Fixes: e7b7ab3847c9 (“platform/x86: intel_scu_ipc: Sleeping is fine when polling”)
Signed-off-by: Prashant Malani <pmalani@chromium.org>
Cc: Benson Leung <bleung@chromium.org>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Link: https://lore.kernel.org/r/20210928101932.2543937-2-pmalani@chromium.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/mailbox/imx-mailbox.c')
0 files changed, 0 insertions, 0 deletions