[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e039d9bd-d2e7-a215-4ec2-7f760e1f83b1@wanadoo.fr>
Date: Sun, 2 Oct 2022 18:11:44 +0200
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: cmo@...exis.com
Cc: andy.shevchenko@...il.com, jic23@...nel.org,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v6 1/3] iio: temperature: mlx90632 Add runtime
powermanagement modes
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;
>
> [...]
>
Powered by blists - more mailing lists