Re: [PATCH 5.10 041/289] i2c: Add I2C_AQ_NO_REP_START adapter quirk

From
Pavel Machek <hidden>
Date
2021-05-19 20:13:14
Also in
lkml
Reply to
Greg Kroah-Hartman, 2021-05-17
On Mon 2021-05-17 15:59:26, Greg Kroah-Hartman wrote:
From: Bence Csókás <bence98@sch.bme.hu>

[ Upstream commit aca01415e076aa96cca0f801f4420ee5c10c660d ]

This quirk signifies that the adapter cannot do a repeated
START, it always issues a STOP condition after transfers.

Suggested-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Bence Csókás <bence98@sch.bme.hu>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Why is this pushed to 5.10 and 4.19? The define is not used anywhere
AFAICT.

Best regards,
							Pavel
							
quoted hunk ↗ jump to hunk
+++ b/include/linux/i2c.h
@@ -687,6 +687,8 @@ struct i2c_adapter_quirks {
+/* adapter cannot do repeated START */
+#define I2C_AQ_NO_REP_START		BIT(7)
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Attachments

Thread (305 messages) 305 messages, 13 authors, last reply 2021-05-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help