aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/phone_svn/ipc_spi/spi_dev.c
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.com>2012-09-22 09:48:20 +0200
committercodeworkx <codeworkx@cyanogenmod.com>2012-09-22 14:02:16 +0200
commit2489007e7d740ccbc3e0a202914e243ad5178787 (patch)
treeb8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/phone_svn/ipc_spi/spi_dev.c
parent5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff)
downloadkernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.zip
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.gz
kernel_samsung_smdk4412-2489007e7d740ccbc3e0a202914e243ad5178787.tar.bz2
merge opensource jb u5
Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2
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;
}