diff options
author | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 09:48:20 +0200 |
---|---|---|
committer | codeworkx <codeworkx@cyanogenmod.com> | 2012-09-22 14:02:16 +0200 |
commit | 2489007e7d740ccbc3e0a202914e243ad5178787 (patch) | |
tree | b8e6380ea7b1da63474ad68a5dba997e01146043 /drivers/phone_svn/ipc_spi/spi_dev.c | |
parent | 5f67568eb31e3a813c7c52461dcf66ade15fc2e7 (diff) | |
download | kernel_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.c | 8 |
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; } |