Commit aca01415 authored by Bence Csókás's avatar Bence Csókás Committed by Wolfram Sang

i2c: Add I2C_AQ_NO_REP_START adapter quirk

This quirk signifies that the adapter cannot do a repeated
START, it always issues a STOP condition after transfers.
Suggested-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarBence Csókás <bence98@sch.bme.hu>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
parent c126f7c3
......@@ -687,6 +687,8 @@ struct i2c_adapter_quirks {
#define I2C_AQ_NO_ZERO_LEN_READ BIT(5)
#define I2C_AQ_NO_ZERO_LEN_WRITE BIT(6)
#define I2C_AQ_NO_ZERO_LEN (I2C_AQ_NO_ZERO_LEN_READ | I2C_AQ_NO_ZERO_LEN_WRITE)
/* adapter cannot do repeated START */
#define I2C_AQ_NO_REP_START BIT(7)
/*
* i2c_adapter is the structure used to identify a physical i2c bus along
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment