Эх сурвалжийг харах

qcacmn: add recommended err/debug function

add recommended err/debug function

Change-Id: I8d564a155485be4b997ecd8ba8325e3e4d72d7b1
CRs-Fixed: 3490031
KARTHIK KUMAR T 2 жил өмнө
parent
commit
3b082b0bf8

+ 2 - 2
utils/qld/src/qld.c

@@ -1,6 +1,6 @@
 /*
 /*
  * Copyright (c) 2019 The Linux Foundation. All rights reserved.
  * Copyright (c) 2019 The Linux Foundation. All rights reserved.
- * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
  * any purpose with or without fee is hereby granted, provided that the
@@ -106,7 +106,7 @@ int qld_register(void *addr, size_t size, char *name)
 	uint32_t list_count = 0;
 	uint32_t list_count = 0;
 
 
 	if (!qld_handle || !addr) {
 	if (!qld_handle || !addr) {
-		qld_err("Handle or address is NULL");
+		qld_debug("Handle or address is NULL");
 		return -EINVAL;
 		return -EINVAL;
 	}
 	}