[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aWioYpYPAPOGmnHD@smile.fi.intel.com>
Date: Thu, 15 Jan 2026 10:42:10 +0200
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: raskar.shree97@...il.com
Cc: Jonathan Cameron <jic23@...nel.org>,
David Lechner <dlechner@...libre.com>,
Nuno Sá <nuno.sa@...log.com>,
Andy Shevchenko <andy@...nel.org>, skhan@...uxfoundation.org,
david.hunter.linux@...il.com, linux-iio@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 3/5] iio: proximity: rfd77402: Add interrupt handling
support
On Thu, Jan 15, 2026 at 01:57:39PM +0530, Shrikant Raskar via B4 Relay wrote:
> Add interrupt handling support to enable event-driven data acquisition
> instead of continuous polling. This improves responsiveness, reduces
> CPU overhead, and supports low-power operation by allowing the system
> to remain idle until an interrupt occurs.
...
Also
+ bits.h // although it's preexisting problem, but you add a new user of it
> +#include <linux/completion.h>
> #include <linux/delay.h>
+ dev_printk.h
+ errno.h
> #include <linux/i2c.h>
> +#include <linux/interrupt.h>
> #include <linux/iopoll.h>
+ jiffies.h
> #include <linux/module.h>
+ types.h
All on the same grounds as above,
...
> mutex_init(&data->lock);
Conversion to devm_mutext_init() change should be before this patch.
...
> + i2c_set_clientdata(client, indio_dev);
Is it used?
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists