replace common qcom sources with samsung ones

This commit is contained in:
SaschaNes
2025-08-12 22:13:00 +02:00
parent ba24dcded9
commit 6f7753de11
5682 changed files with 2450203 additions and 103634 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (c) 2023-2025 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <linux/dma-mapping.h>
@@ -254,10 +254,8 @@ int qcedev_check_and_map_buffer(void *handle,
}
binfo->ion_buf.buf_ion_fd = fd;
buf = dma_buf_get(fd);
if (IS_ERR_OR_NULL(buf)) {
rc = -EINVAL;
goto error;
}
if (IS_ERR_OR_NULL(buf))
return -EINVAL;
rc = msm_gpce_ion_smmu_map(buf, binfo, drv_handles);
if (rc) {
pr_err("%s: err: failed to map fd (%d) error = %d\n",