Re: [PATCH 09/18] iio: light: opt4060: Switch to sparse friendly iio_device_claim/release_direct()

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

 



On 3/9/25 18:06, Jonathan Cameron wrote:
> From: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> 
> These new functions allow sparse to find failures to release
> direct mode reducing chances of bugs over the claim_direct_mode()
> functions that are deprecated.  This is a case where the code
> is pinning down the mode so also has a claim on buffered mode.
> A follow up set may move those calls over to a sparse friendly
> form as well.
> 
> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Cc: Per-Daniel Olsson <perdaniel.olsson@xxxxxxxx>

Acked-by: Per-Daniel Olsson <perdaniel.olsson@xxxxxxxx>

Best regards / P-D




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux