[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aWinTdOD0FHaeqYp@smile.fi.intel.com>
Date: Thu, 15 Jan 2026 10:37:33 +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 2/5] iio: proximity: rfd77402: Use kernel helper for
result polling
On Thu, Jan 15, 2026 at 01:57:38PM +0530, Shrikant Raskar via B4 Relay wrote:
> Replace the manually written polling loop with read_poll_timeout(),
> the kernel's standard helper for waiting on hardware status.
> This makes the code easier to read and avoids repeating the same
> polling code in the driver.
Also need to add that you made it as a separate helper as it will be reused in
the future (or next changes).
No need to resend just for this, I hope Jonathan can tweak this whilst applying.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists