lkml.org 
[lkml]   [2022]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/3] gpio: 104-idio-16: Utilize the idio-16 GPIO library
On Sun, Sep 11, 2022 at 04:34:39PM -0400, William Breathitt Gray wrote:
> The ACCES 104-IDIO-16 device is part of the ACCES IDIO-16 family, so the
> idio-16 GPIO library module is selected and utilized to consolidate
> code.

> + /* Reading output signals is not supported */
> + if (offset < IDIO_16_NOUT)
> return -EINVAL;

I see it's in the original code, but isn't it possible to cache and return
cached value in such cases?

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2022-09-13 19:31    [W:0.055 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site