lkml.org 
[lkml]   [2021]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 3/4] iio: proximity: vncl3020: remove mutex from vcnl3020_data
On Fri, Apr 30, 2021 at 6:16 PM Ivan Mikhaylov <i.mikhaylov@yadro.com> wrote:
>
> Remove the mutex from vcnl3020_data structure and change it on
> iio_device_claim_direct_mode/iio_device_release_direct_mode.

iio_device_claim_direct_mode()/iio_device_release_direct_mode().

I'm wondering if it should be the first patch in the series.

...

> +end:

out_release_direct_mode:

> + iio_device_release_direct_mode(indio_dev);
> + return rc;

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2021-05-01 20:55    [W:0.132 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site