aboutsummaryrefslogtreecommitdiffstats
path: root/samsung-ipc
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-07-01 14:15:05 +0200
committerPaul Kocialkowski <contact@paulk.fr>2013-07-01 14:15:05 +0200
commita795a6f7372dd32af03c07124dcc2fb490e5539b (patch)
treeda8e606d537f3c93ac4c0acde4f9516b2cfbef2e /samsung-ipc
parent293c8673233ac4c444b43d3d53a8792d66df6564 (diff)
downloadexternal_libsamsung-ipc-a795a6f7372dd32af03c07124dcc2fb490e5539b.zip
external_libsamsung-ipc-a795a6f7372dd32af03c07124dcc2fb490e5539b.tar.gz
external_libsamsung-ipc-a795a6f7372dd32af03c07124dcc2fb490e5539b.tar.bz2
xmm6160: Explicit PSI data argument name
Change-Id: Ie791289243ea9d359f143ad76f444dad89258efc Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'samsung-ipc')
-rw-r--r--samsung-ipc/device/xmm6160/xmm6160.c6
-rw-r--r--samsung-ipc/device/xmm6160/xmm6160.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/samsung-ipc/device/xmm6160/xmm6160.c b/samsung-ipc/device/xmm6160/xmm6160.c
index 0a23f32..697c240 100644
--- a/samsung-ipc/device/xmm6160/xmm6160.c
+++ b/samsung-ipc/device/xmm6160/xmm6160.c
@@ -31,7 +31,7 @@
#include "xmm6160.h"
int xmm6160_psi_send(struct ipc_client *client, int serial_fd,
- void *modem_image_data, unsigned short psi_size)
+ void *psi_data, unsigned short psi_size)
{
char at[] = XMM6160_AT;
unsigned char version;
@@ -49,7 +49,7 @@ int xmm6160_psi_send(struct ipc_client *client, int serial_fd,
int rc;
int i;
- if (client == NULL || serial_fd < 0 || modem_image_data == NULL || psi_size <= 0)
+ if (client == NULL || serial_fd < 0 || psi_data == NULL || psi_size <= 0)
return -1;
tcgetattr(serial_fd, &termios);
@@ -118,7 +118,7 @@ int xmm6160_psi_send(struct ipc_client *client, int serial_fd,
timeout.tv_sec = 4;
timeout.tv_usec = 0;
- p = (unsigned char *) modem_image_data;
+ p = (unsigned char *) psi_data;
psi_crc = 0;
for (i=0; i < psi_size; i++) {
diff --git a/samsung-ipc/device/xmm6160/xmm6160.h b/samsung-ipc/device/xmm6160/xmm6160.h
index 412dfdb..9a2976c 100644
--- a/samsung-ipc/device/xmm6160/xmm6160.h
+++ b/samsung-ipc/device/xmm6160/xmm6160.h
@@ -30,7 +30,7 @@
#define XMM6160_BOOTCORE_VERSION 0xF0
int xmm6160_psi_send(struct ipc_client *client, int serial_fd,
- void *modem_image_data, unsigned short psi_size);
+ void *psi_data, unsigned short psi_size);
int xmm6160_modem_image_send(struct ipc_client *client, int device_fd,
void *device_address, void *modem_image_data, int modem_image_size);
int xmm6160_nv_data_send(struct ipc_client *client, int device_fd,