replace common qcom sources with samsung ones
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* QTI CE device driver.
|
||||
*
|
||||
* Copyright (c) 2010-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/mman.h>
|
||||
@@ -33,7 +33,6 @@
|
||||
#include "qce.h"
|
||||
#include "qcedev_smmu.h"
|
||||
#include "qcom_crypto_device.h"
|
||||
#include <linux/compat.h>
|
||||
#if IS_ENABLED(CONFIG_COMPAT)
|
||||
#include "compat_qcedev.h"
|
||||
#endif
|
||||
@@ -51,7 +50,7 @@
|
||||
* This is temporary, and we can use the 1500 value once the
|
||||
* core irqs are enabled.
|
||||
*/
|
||||
#define MAX_OFFLOAD_CRYPTO_WAIT_TIME 50
|
||||
#define MAX_OFFLOAD_CRYPTO_WAIT_TIME 30
|
||||
|
||||
#define MAX_REQUEST_TIME 5000
|
||||
|
||||
@@ -394,10 +393,6 @@ void qcedev_sha_req_cb(void *cookie, unsigned char *digest,
|
||||
if (!areq || !areq->cookie)
|
||||
return;
|
||||
handle = (struct qcedev_handle *) areq->cookie;
|
||||
|
||||
if (!handle || !handle->cntl)
|
||||
return;
|
||||
|
||||
pdev = handle->cntl;
|
||||
if (!pdev)
|
||||
return;
|
||||
@@ -426,10 +421,6 @@ void qcedev_cipher_req_cb(void *cookie, unsigned char *icv,
|
||||
if (!areq || !areq->cookie)
|
||||
return;
|
||||
handle = (struct qcedev_handle *) areq->cookie;
|
||||
|
||||
if (!handle || !handle->cntl)
|
||||
return;
|
||||
|
||||
podev = handle->cntl;
|
||||
if (!podev)
|
||||
return;
|
||||
@@ -558,8 +549,6 @@ void qcedev_offload_cipher_req_cb(void *cookie, unsigned char *icv,
|
||||
if (!areq || !areq->cookie)
|
||||
return;
|
||||
handle = (struct qcedev_handle *) areq->cookie;
|
||||
if (!handle || !handle->cntl)
|
||||
return;
|
||||
podev = handle->cntl;
|
||||
if (!podev)
|
||||
return;
|
||||
|
Reference in New Issue
Block a user