[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <d8dc8a62-93b8-618e-ff18-dd85c8e75464@collabora.com>
Date: Wed, 6 Jul 2022 23:52:42 +0300
From: Dmitry Osipenko <dmitry.osipenko@...labora.com>
To: Shreeya Patel <shreeya.patel@...labora.com>, jic23@...nel.org,
lars@...afoo.de, robh+dt@...nel.org, Zhigang.Shi@...eon.com,
krisman@...labora.com
Cc: linux-iio@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, kernel@...labora.com,
alvaro.soliverez@...labora.com, andy.shevchenko@...il.com,
digetx@...il.com, kernel test robot <lkp@...el.com>
Subject: Re: [PATCH v6 2/2] iio: light: Add support for ltrf216a sensor
On 6/15/22 16:51, Shreeya Patel wrote:
> +static int ltrf216a_get_lux(struct ltrf216a_data *data)
> +{
> + int greendata;
> + u64 lux, div;
> +
> + ltrf216a_set_power_state(data, true);
All the power-on errors should be handled.
--
Best regards,
Dmitry
Powered by blists - more mailing lists