summaryrefslogtreecommitdiff
path: root/bsp/w60x
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-11-17 15:57:15 -0500
committerMeco Man <[email protected]>2021-11-17 15:57:15 -0500
commitdf9a23c534f57e6f5b06acfbe6db8b636894e0ad (patch)
treea59dee4012835d6a8d1d1b4566b4a49a719798bd /bsp/w60x
parentfbca0c7f7d195eb8901902c4f94f4bab4395db61 (diff)
[mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO
Diffstat (limited to 'bsp/w60x')
-rw-r--r--bsp/w60x/drivers/drv_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/w60x/drivers/drv_crypto.c b/bsp/w60x/drivers/drv_crypto.c
index 1e0db82cde..ee4b913724 100644
--- a/bsp/w60x/drivers/drv_crypto.c
+++ b/bsp/w60x/drivers/drv_crypto.c
@@ -732,7 +732,7 @@ int wm_hw_crypto_device_init(void)
{
return -1;
}
- rt_mutex_init(&_crypto_dev.mutex, RT_HWCRYPTO_DEFAULT_NAME, RT_IPC_FLAG_FIFO);
+ rt_mutex_init(&_crypto_dev.mutex, RT_HWCRYPTO_DEFAULT_NAME, RT_IPC_FLAG_PRIO);
return 0;
}
INIT_DEVICE_EXPORT(wm_hw_crypto_device_init);