summaryrefslogtreecommitdiffstats
path: root/include/media/i2c
diff options
context:
space:
mode:
Diffstat (limited to 'include/media/i2c')
-rw-r--r--include/media/i2c/ir-kbd-i2c.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/media/i2c/ir-kbd-i2c.h b/include/media/i2c/ir-kbd-i2c.h
index 1a9df1a..9f47d6a 100644
--- a/include/media/i2c/ir-kbd-i2c.h
+++ b/include/media/i2c/ir-kbd-i2c.h
@@ -23,6 +23,11 @@ struct IR_i2c {
int (*get_key)(struct IR_i2c *ir,
enum rc_proto *protocol,
u32 *scancode, u8 *toggle);
+ /* tx */
+ struct i2c_client *tx_c;
+ struct mutex lock; /* do not poll Rx during Tx */
+ unsigned int carrier;
+ unsigned int duty_cycle;
};
enum ir_kbd_get_key_fn {
OpenPOWER on IntegriCloud