Re: [PATCH v8 1/6] iio: adc: ad7192: Use standard attribute

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

 



On Tue, 14 May 2024 15:02:17 +0300
Alisa-Dariana Roman <alisadariana@xxxxxxxxx> wrote:

> Replace custom attribute filter_low_pass_3db_frequency_available with
> standard attribute.
> 
> Store the available values in ad7192_state struct.
> 
> The function that used to compute those values replaced by
> ad7192_update_filter_freq_avail().
> 
> Function ad7192_show_filter_avail() is no longer needed.
> 
> Note that the initial available values are hardcoded.
> 
> Also moved the mutex lock and unlock in order to protect the whole
> switch statement since each branch modifies the state of the device.
> 
> Reviewed-by: David Lechner <dlechner@xxxxxxxxxxxx>
> Signed-off-by: Alisa-Dariana Roman <alisa.roman@xxxxxxxxxx>
I'm going to work my way through these, picking things up until I
hit anything that needs non trivial changes (hopefully I won't!)

Applied




[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