From: Eugen Hristev Date: Thu, 4 May 2017 12:13:20 +0000 (+0300) Subject: iio: tools: generic_buffer: increase trigger length X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f80ac400ee762bba3a420a4a537ce6ae7854b657;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git iio: tools: generic_buffer: increase trigger length Increased trigger length to 64 in order to cope with trigger names like fc030000.adc-dev0-external-rising Signed-off-by: Eugen Hristev Signed-off-by: Jonathan Cameron --- diff --git a/tools/iio/iio_utils.h b/tools/iio/iio_utils.h index 780f2014f8fa..8b379da26e35 100644 --- a/tools/iio/iio_utils.h +++ b/tools/iio/iio_utils.h @@ -13,7 +13,7 @@ #include /* 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"