lkml.org 
[lkml]   [2022]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v3 8/9] iio: adc: mcp3911: add support for oversampling ratio
On Mon, Jul 4, 2022 at 7:22 PM Marcus Folkesson
<marcus.folkesson@gmail.com> wrote:
>
> The chip supports oversampling ratio, so expose it to userspace.

...

> + ret = mcp3911_read(adc,
> + MCP3911_REG_CONFIG, val, 2);

One line?

> + if (ret)
> + goto out;

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2022-07-05 00:02    [W:0.099 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site