projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
iio: accel: bmc150: fix endianness when reading axes
[cascardo/linux.git]
/
drivers
/
iio
/
industrialio-buffer.c
diff --git
a/drivers/iio/industrialio-buffer.c
b/drivers/iio/industrialio-buffer.c
index
b976332
..
90462fc
100644
(file)
--- a/
drivers/iio/industrialio-buffer.c
+++ b/
drivers/iio/industrialio-buffer.c
@@
-653,6
+653,7
@@
static int iio_verify_update(struct iio_dev *indio_dev,
unsigned int modes;
memset(config, 0, sizeof(*config));
+ config->watermark = ~0;
/*
* If there is just one buffer and we are removing it there is nothing