Re: [PATCH v3 8/9] iio: adc: mcp3911: add support for oversampling ratio

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 4, 2022 at 7:22 PM Marcus Folkesson
<marcus.folkesson@xxxxxxxxx> 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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux