drivers: exynos-bcm: Build without EXYNOS_DEBUG

This commit is contained in:
Ksawlii 2024-12-13 19:53:18 +01:00
parent 579f5809f3
commit 6bfb284ac4

View file

@ -84,7 +84,7 @@ static int __exynos_bcm_dbg_ipc_send_data(enum exynos_bcm_dbg_ipc_type ipc_type,
int i = 0; int i = 0;
struct cmd_data config; struct cmd_data config;
#endif #endif
enum exynos_bcm_err_code ipc_err; enum exynos_bcm_err_code ipc_err = -1;
unsigned int *bcm_cmd; unsigned int *bcm_cmd;
if ((ipc_type < IPC_BCM_DBG_EVENT) || if ((ipc_type < IPC_BCM_DBG_EVENT) ||
@ -128,7 +128,7 @@ static int __exynos_bcm_dbg_ipc_send_data(enum exynos_bcm_dbg_ipc_type ipc_type,
ipc_err = exynos_bcm_dbg_ipc_err_handle(config.raw_cmd); ipc_err = exynos_bcm_dbg_ipc_err_handle(config.raw_cmd);
#endif #endif
if (ipc_err) { if (ipc_err != -1) {
ret = -EBADMSG; ret = -EBADMSG;
return ret; return ret;
} }