aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc/device/xmm6260/xmm6260_ipc.c
diff options
context:
space:
mode:
Diffstat (limited to 'samsung-ipc/device/xmm6260/xmm6260_ipc.c')
-rw-r--r--samsung-ipc/device/xmm6260/xmm6260_ipc.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/samsung-ipc/device/xmm6260/xmm6260_ipc.c b/samsung-ipc/device/xmm6260/xmm6260_ipc.c
index 2d485ab..b8c1f60 100644
--- a/samsung-ipc/device/xmm6260/xmm6260_ipc.c
+++ b/samsung-ipc/device/xmm6260/xmm6260_ipc.c
@@ -38,7 +38,6 @@
#include <assert.h>
#include <samsung-ipc.h>
-#include <wakelock.h>
#include "ipc.h"
@@ -47,9 +46,6 @@
#include "xmm6260_modemctl.h"
#include "modem_prj.h"
-#define FMT_LOCK_NAME "xmm6260-fmt-lock"
-#define RFS_LOCK_NAME "xmm6260-rfs-lock"
-
int xmm6260_ipc_fmt_send(struct ipc_client *client, struct ipc_message_info *request)
{
struct ipc_header *hdr;
@@ -57,8 +53,6 @@ int xmm6260_ipc_fmt_send(struct ipc_client *client, struct ipc_message_info *req
unsigned char *payload;
size_t frame_length;
- wake_lock(FMT_LOCK_NAME);
-
/* Frame IPC header + payload length */
frame_length = (sizeof(*hdr) + request->length);
@@ -83,8 +77,6 @@ int xmm6260_ipc_fmt_send(struct ipc_client *client, struct ipc_message_info *req
free(frame);
- wake_unlock(FMT_LOCK_NAME);
-
return 0;
}
@@ -104,8 +96,6 @@ int xmm6260_ipc_fmt_recv(struct ipc_client *client, struct ipc_message_info *res
if (!client || !response)
return -1;
- wake_lock(FMT_LOCK_NAME);
-
num_read = client->handlers->read(client->handlers->transport_data, buf, IPC_MAX_XFER);
if (num_read <= 0) {
@@ -140,7 +130,6 @@ int xmm6260_ipc_fmt_recv(struct ipc_client *client, struct ipc_message_info *res
ipc_client_log_recv(client, response, __func__);
done:
- wake_unlock(FMT_LOCK_NAME);
return 0;
}
@@ -153,8 +142,6 @@ int xmm6260_ipc_rfs_recv(struct ipc_client *client, struct ipc_message_info *res
int rc;
int ret = 0;
- wake_lock(RFS_LOCK_NAME);
-
do {
rc = client->handlers->read(client->handlers->transport_data, buf, IPC_MAX_XFER);
@@ -207,8 +194,6 @@ int xmm6260_ipc_rfs_recv(struct ipc_client *client, struct ipc_message_info *res
ipc_client_log_recv(client, response, __func__);
done:
-
- wake_unlock(RFS_LOCK_NAME);
return ret;
}
@@ -219,8 +204,6 @@ int xmm6260_ipc_rfs_send(struct ipc_client *client, struct ipc_message_info *req
int data_length;
int rc;
- wake_lock(RFS_LOCK_NAME);
-
data_length = sizeof(struct rfs_hdr) + request->length;
data = malloc(data_length);
memset(data, 0, data_length);
@@ -236,7 +219,6 @@ int xmm6260_ipc_rfs_send(struct ipc_client *client, struct ipc_message_info *req
rc = client->handlers->write(client->handlers->transport_data, data, data_length);
- wake_unlock(RFS_LOCK_NAME);
return rc;
}