summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-03-24 12:13:07 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-03-24 12:13:06 -0700
commit788fd1f6698accb0b08cf2d7852c85b9bc32531d (patch)
tree6efccdcb70dfe2ad70afe7fcd1ad396ee5d1c3cf /include/linux
parent1c5eaab3228444f49aa0beb4390b27679f560ad6 (diff)
parentc3e5288ca0966ccab967a8a56ee68bbc48f90e43 (diff)
Merge "i2c-msm-v2: Create rx completion object for dma mode"
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/i2c/i2c-msm-v2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/i2c/i2c-msm-v2.h b/include/linux/i2c/i2c-msm-v2.h
index 54974c02725d..468a1d6fa58d 100644
--- a/include/linux/i2c/i2c-msm-v2.h
+++ b/include/linux/i2c/i2c-msm-v2.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2014-2015,2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -552,6 +552,7 @@ struct i2c_msm_xfer {
int msg_cnt;
enum i2c_msm_xfer_mode_id mode_id;
struct completion complete;
+ struct completion rx_complete;
size_t rx_cnt;
size_t tx_cnt;
size_t rx_ovrhd_cnt;