Thread (30 messages) 30 messages, 6 authors, 2015-12-05
STALE3332d

[PATCH v4 4/4] iio: humidity: si7020: added No Hold read mode

From: lars@metafoo.de (Lars-Peter Clausen)
Date: 2015-10-28 09:38:05
Also in: linux-i2c, linux-iio

On 10/28/2015 07:58 AM, Nicola Corna wrote:
[...]
+			holdmode = !((*client)->adapter->quirks &&
+					(*client)->adapter->quirks->flags &
[...]
+		   client->adapter->quirks &&
+		   client->adapter->quirks->flags & I2C_AQ_NO_CLK_STRETCH)
This is rather ugly, can we get a helper in the I2C core something along the
lines of

i2c_check_quirks(client->adapter, I2C_AQ_NO_CLK_STRETCH)

- Lars
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help