Commit f335fa70 authored by Kent Gustavsson's avatar Kent Gustavsson Committed by Jonathan Cameron

iio: humidity: dht11 remove TODO since it doesn't make sense

DHT11 isn't addressable and will trigger temperature measurement on any
data sent on the bus.
Signed-off-by: default avatarKent Gustavsson <kent@minoris.se>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 77038bd0
......@@ -174,7 +174,6 @@ static irqreturn_t dht11_handle_irq(int irq, void *data)
struct iio_dev *iio = data;
struct dht11 *dht11 = iio_priv(iio);
/* TODO: Consider making the handler safe for IRQ sharing */
if (dht11->num_edges < DHT11_EDGES_PER_READ && dht11->num_edges >= 0) {
dht11->edges[dht11->num_edges].ts = ktime_get_boottime_ns();
dht11->edges[dht11->num_edges++].value =
......
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