diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-04 17:53:12 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2019-07-04 18:03:04 +0200 |
commit | d16dea3dca97bbe46641aa182f44ec6cf7ab5ad6 (patch) | |
tree | cbacc52cbb49b23b295c7deafc4171b0259637a2 | |
parent | 85f64c5346788724c4c40a9d2918182eb03f4258 (diff) | |
download | hardware_replicant_libsamsung-ipc-d16dea3dca97bbe46641aa182f44ec6cf7ab5ad6.tar.gz hardware_replicant_libsamsung-ipc-d16dea3dca97bbe46641aa182f44ec6cf7ab5ad6.tar.bz2 hardware_replicant_libsamsung-ipc-d16dea3dca97bbe46641aa182f44ec6cf7ab5ad6.zip |
TEST: Add debug to find what happen in ipc_device_detect()
The printf are used as the following code is present in ipc.c in
libsamsung-ril:
ipc_client = ipc_client_create(IPC_CLIENT_TYPE_RFS);
if (ipc_client == NULL) {
RIL_LOGE("Creating %s client failed", client->name);
goto error;
}
rc = ipc_client_data_create(ipc_client);
if (rc < 0) {
RIL_LOGE("Creating %s client data failed", client->name);
goto error;
}
rc = ipc_client_log_callback_register(ipc_client, ipc_log_handler, NULL);
if (rc < 0) {
RIL_LOGE("Setting %s client log handler failed", client->name);
goto error;
}
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r-- | samsung-ipc/ipc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/samsung-ipc/ipc.c b/samsung-ipc/ipc.c index d0a7682..b51a99a 100644 --- a/samsung-ipc/ipc.c +++ b/samsung-ipc/ipc.c @@ -162,7 +162,9 @@ struct ipc_client *ipc_client_create(int type) if (type < 0 || type > IPC_CLIENT_TYPE_RFS) return NULL; - rc = 12; //ipc_device_detect(); + printf("ENTER %s", __FUNCTION__); + rc = ipc_device_detect(); + printf("%s: ipc_device_detect=%d\n", __FUNCTION__, rc); if (rc < 0) goto error; |