aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phone_svn/ipc_spi/spi_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/phone_svn/ipc_spi/spi_dev.c')
-rw-r--r--drivers/phone_svn/ipc_spi/spi_dev.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/phone_svn/ipc_spi/spi_dev.c b/drivers/phone_svn/ipc_spi/spi_dev.c
index 54746d9..a1e97dc 100644
--- a/drivers/phone_svn/ipc_spi/spi_dev.c
+++ b/drivers/phone_svn/ipc_spi/spi_dev.c
@@ -133,11 +133,11 @@ Return value 0 : success
***********************************************************/
-int spi_dev_send(void *buf, void *sync_buf, unsigned int length)
+int spi_dev_send(void *buf, unsigned int length)
{
int result = 0;
- result = ipc_spi_tx_rx_sync(buf, sync_buf, length);
+ result = ipc_spi_tx_rx_sync(buf, 0, length);
return result;
}
@@ -160,11 +160,11 @@ Return value 0 : success
***********************************************************/
-int spi_dev_receive(void *sync_buf, void *buf, unsigned int length)
+int spi_dev_receive(void *buf, unsigned int length)
{
int value = 0;
- value = ipc_spi_tx_rx_sync(sync_buf, buf, length);
+ value = ipc_spi_tx_rx_sync(0, buf, length);
return value;
}