[PATCH] iio: accel: Bugfix to enbale and allow different events to work parallely.

2017-07-30 Thread Harinath Nampally
. Changes are thoroughly tested on fxls8471 device on imx6UL Eval board using iio_event_monitor user space program. After this fix both Freefall and Transient events are handled by the driver without any conflicts. Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- drivers/iio

Re: [PATCH] staging: iio: light: Replace snprintf calls with scnprintf

2017-05-25 Thread harinath Nampally
Greg, Sure, I will fix it and resend a fresh patch. Thanks, Hari ___ devel mailing list de...@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

[PATCH] staging: iio: light: Replace snprintf calls with scnprintf

2017-05-24 Thread Harinath Nampally
This patch fixes the miscoded use of return value of snprintf by using the scnprintf function which returns the length of actual string created in the buffer. Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- drivers/staging/iio/light/tsl2x7x.c | 20 ++--

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-18 Thread harinath Nampally
Jonathan, Yes I see it in the testing branch, thank you for letting me know. Thanks, Harinath On Tue, May 16, 2017 at 2:24 PM, Jonathan Cameron <ji...@kernel.org> wrote: > On 15/05/17 05:38, harinath Nampally wrote: >> >> Jonathan, >> >> Thank you for letting m

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
but it is for different file ade7758_core.c Please correct me if I am wrong. Thanks, Harinath On Mon, May 15, 2017 at 12:27 AM, harinath Nampally <harinath...@gmail.com> wrote: > Jonathan, > > Thank you for letting me know about correct iio git tree. > > I checked out 'togreg' branch, and

Re: [PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-14 Thread harinath Nampally
but it is for different file ade7758_core.c Please refer to below link for Quentin Swain's patch. https://www.spinics.net/lists/linux-iio/msg33010.html Please let me know if I am wrong. Thanks, Harinath On Mon, May 15, 2017 at 12:22 AM, harinath Nampally <harinath...@gmail.com> wrote: > Jonathan,

Re: [PATCH v2 3/3] staging: iio: meter: Replace symbolic permissions with octal permissions.

2017-05-14 Thread harinath Nampally
Jonathan, Thank you for letting me know. In future I will work on 'togreg' branch of iio.git tree to send my patches. Thanks, Harinath On Sun, May 14, 2017 at 11:29 AM, Jonathan Cameron <ji...@kernel.org> wrote: > On 10/05/17 00:41, Harinath Nampally wrote: >> >> This p

[PATCH] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-12 Thread Harinath Nampally
This patch fixes below kind of warnings: WARNING: Symbolic permissions 'S_IXXX | S_IXXX' are not preferred. Issue found and fixed by checkpatch.pl Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- drivers/staging/iio/meter/ade7758_core.c | 50

[PATCH v2 0/3] coding style warnings fixes

2017-05-09 Thread Harinath Nampally
] staging: iio: meter: Add the comment for mutex definition [PATCH v2 2/3] staging: iio: meter: Fix the identations for proper alignments [PATCH v2 3/3] staging: iio: meter: Replace symbolic permissions with octal permissions Harinath Nampally (3): staging: iio: meter: Add the comment for mutex

[PATCH v2 3/3] staging: iio: meter: Replace symbolic permissions with octal permissions.

2017-05-09 Thread Harinath Nampally
-by: Harinath Nampally <harinath...@gmail.com> --- Changes in v2: - None because only [PATCH v2 1/3] has improvement drivers/staging/iio/meter/ade7753.c | 46 ++--- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers/staging/iio/meter/ade775

[PATCH v2 1/3] staging: iio: meter: Add the comment for mutex definition.

2017-05-09 Thread Harinath Nampally
This patch fixes below checkpatch.pl warning: CHECK: struct mutex definition without comment Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- Changes in v2: - Removed the extra comment for mutex in the struct. drivers/staging/iio/meter/ade7753.c | 3 ++- 1 file chan

[PATCH v2 2/3] staging: iio: meter: Fix the identations for proper alignments.

2017-05-09 Thread Harinath Nampally
This patch fixes below checkpatch.pl kind of warnings: CHECK: Alignment should match open parenthesis Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- Changes in v2: - None because only [PATCH v2 1/3] has improvement drivers/staging/iio/meter/ade7753.

[PATCH 2/3] staging: iio: meter: Fix the identations for proper alignments

2017-05-08 Thread Harinath Nampally
This patch fixes below checkpatch.pl kind of warnings: CHECK: Alignment should match open parenthesis Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- drivers/staging/iio/meter/ade7753.c | 55 ++--- 1 file changed, 27 insertions(+), 28 del

[PATCH 3/3] staging: iio: meter: Replace symbolic permissions with octal permissions

2017-05-08 Thread Harinath Nampally
-by: Harinath Nampally <harinath...@gmail.com> --- drivers/staging/iio/meter/ade7753.c | 46 ++--- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/drivers/staging/iio/meter/ade7753.c b/drivers/staging/iio/meter/ade7753.c index 5d45a68..2534bd0

[PATCH 0/3] coding style warnings fixes

2017-05-08 Thread Harinath Nampally
permissions with octal permissions - Harinath Nampally (3): staging: iio: meter: Add the comment for mutex definition staging: iio: meter: Fix the identations for proper alignments staging: iio: meter: Replace symbolic

[PATCH 1/3] staging: iio: meter: Add the comment for mutex definition

2017-05-08 Thread Harinath Nampally
This patch fixes below checkpatch.pl warning: CHECK: struct mutex definition without comment Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- drivers/staging/iio/meter/ade7753.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/meter/ade

[PATCH] staging: iio: meter: This patch fixes warnings found in ade7753.c

2017-05-07 Thread Harinath Nampally
(0777) not decimal permissions ade7753.c:386: ERROR: Use 4 digit octal (0777) not decimal permissions Signed-off-by: Harinath Nampally <harinath...@gmail.com> --- drivers/staging/iio/meter/ade7753.c | 104 ++-- 1 file changed, 52 insertions(+), 52 deletions(-)