projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac23d64
)
iio: tools: generic_buffer: increase trigger length
author
Eugen Hristev
<eugen.hristev@microchip.com>
Thu, 4 May 2017 12:13:20 +0000
(15:13 +0300)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 7 May 2017 15:08:04 +0000
(16:08 +0100)
Increased trigger length to 64 in order to cope with trigger names
like
fc030000
.adc-dev0-external-rising
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
tools/iio/iio_utils.h
patch
|
blob
|
blame
|
history
diff --git
a/tools/iio/iio_utils.h
b/tools/iio/iio_utils.h
index 780f2014f8fa224e761f312fd7124c5d73e70ce2..8b379da26e35d367c7aeecff465bc5154828def9 100644
(file)
--- a/
tools/iio/iio_utils.h
+++ b/
tools/iio/iio_utils.h
@@
-13,7
+13,7
@@
#include <stdint.h>
/* Made up value to limit allocation sizes */
-#define IIO_MAX_NAME_LENGTH
30
+#define IIO_MAX_NAME_LENGTH
64
#define FORMAT_SCAN_ELEMENTS_DIR "%s/scan_elements"
#define FORMAT_TYPE_FILE "%s_type"