Re: [PATCH 3/5] HID: core: Export some report item parsing functions.

2021-03-01 Thread Benjamin Tissoires
On Mon, Mar 1, 2021 at 3:18 PM Andy Shevchenko wrote: > > On Sun, Feb 28, 2021 at 3:30 AM Ronald Tschalär wrote: > > > > These are useful to drivers that need to scan or parse reports > > themselves. > > ... > > > - while ((start = fetch_item(start, end, )) != NULL) > > + while

Re: [PATCH 3/5] HID: core: Export some report item parsing functions.

2021-03-01 Thread Andy Shevchenko
On Sun, Feb 28, 2021 at 3:30 AM Ronald Tschalär wrote: > > These are useful to drivers that need to scan or parse reports > themselves. ... > - while ((start = fetch_item(start, end, )) != NULL) > + while ((start = hid_fetch_item(start, end, )) != NULL) >

[PATCH 3/5] HID: core: Export some report item parsing functions.

2021-02-27 Thread Ronald Tschalär
These are useful to drivers that need to scan or parse reports themselves. Signed-off-by: Ronald Tschalär --- drivers/hid/hid-core.c | 54 +- include/linux/hid.h| 4 2 files changed, 36 insertions(+), 22 deletions(-) diff --git