summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorShrey Vijay <shreyv@codeaurora.org>2017-05-08 19:16:23 +0530
committerShrey Vijay <shreyv@codeaurora.org>2017-06-12 13:11:01 +0530
commite7b5532deb7cb6e3d1c905dd49dc21d2bef6d611 (patch)
tree6b2104030716c442983518dad50e4e46323213ef /include
parent3d82d66409abb91539bcb9d1f343fcb9d583f2b4 (diff)
i2c-msm-v2: Print error logs in process context
Move error logs from interrupt context to process context to avoid blocking other interrupts and reduce latencies in ISR handling. Also keep error check for BAM rx completion. Change-Id: Ibf355561495b35702118eaf9a0f38c0fdc9310b3 Signed-off-by: Shrey Vijay <shreyv@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/i2c/i2c-msm-v2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/i2c/i2c-msm-v2.h b/include/linux/i2c/i2c-msm-v2.h
index 468a1d6fa58d..3ba9289549a2 100644
--- a/include/linux/i2c/i2c-msm-v2.h
+++ b/include/linux/i2c/i2c-msm-v2.h
@@ -581,6 +581,8 @@ struct i2c_msm_xfer {
* @rsrcs resources from platform data including clocks, gpios, irqs, and
* memory regions.
* @mstr_clk_ctl cached value for programming to mstr_clk_ctl register
+ * @i2c_sts_reg status of QUP_I2C_MASTER_STATUS register.
+ * @qup_op_reg status of QUP_OPERATIONAL register.
*/
struct i2c_msm_ctrl {
struct device *dev;
@@ -589,6 +591,8 @@ struct i2c_msm_ctrl {
struct i2c_msm_dbgfs dbgfs;
struct i2c_msm_resources rsrcs;
u32 mstr_clk_ctl;
+ u32 i2c_sts_reg;
+ u32 qup_op_reg;
enum i2c_msm_power_state pwr_state;
};