Re: [PATCH v6 2/2] iio: light: Add support for ltrf216a sensor

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

 



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



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux