lkml.org 
[lkml]   [2022]   [Aug]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] iio/adc-joystick: buffer data parsing fixes
Date
Hi all,

this patch set fixes the way channel data is being parsed in the
adc-joystick driver. To achieve that, it also introduces helpers in the
IIO subsystem. As a side effect of those changes, a bug in ingenic-adc
has been exposed, which this patch set promptly rectifies.

Tested on GCW Zero (by me) and on Anbernic RG350 (by Paul).

Chris:
As you have originally reported the issue, would you be able to test
the above changes on your setup (Odroid Go Advance, was it)?

Artur Rojek (4):
iio/adc: ingenic: fix channel offsets in buffer
iio: add iio_channel_cb_get_iio_buffer helper
iio: add helper function for reading channel offset in buffer
input: joystick: Fix buffer data parsing

drivers/iio/adc/ingenic-adc.c | 7 +++---
drivers/iio/buffer/industrialio-buffer-cb.c | 7 ++++++
drivers/iio/industrialio-buffer.c | 28 +++++++++++++++++++++
drivers/input/joystick/adc-joystick.c | 26 ++++++++++++-------
include/linux/iio/buffer.h | 4 +++
include/linux/iio/consumer.h | 12 +++++++++
6 files changed, 71 insertions(+), 13 deletions(-)

--
2.37.2

\
 
 \ /
  Last update: 2022-08-17 12:59    [W:0.176 / U:0.568 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site