Re: [PATCH v6 1/3] iio: temperature: mlx90632 Add runtime powermanagement modes

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

 



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;

[...]





[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