Le 02/10/2022 à 18:09, Christophe JAILLET a écrit :
static int mlx90632_read_raw(struct iio_dev *indio_dev, struct iio_chan_spec const *channel, int *val, int *val2, long mask) { struct mlx90632_data *data = iio_priv(indio_dev); int ret; + int cr;This 'cr' seems to be unused.
Ok, used in patch 2/3. Sorry for the noise. CJ
+ + pm_runtime_get_sync(&data->client->dev); + ret = mlx90632_pm_interraction_wakeup(data); + if (ret < 0) + goto mlx90632_read_raw_pm;[...]