]> www.infradead.org Git - users/hch/misc.git/commit
i2c: mlxbf: Use readl_poll_timeout_atomic() for polling
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 12 Feb 2025 16:51:28 +0000 (18:51 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Sat, 22 Mar 2025 12:11:52 +0000 (13:11 +0100)
commitf8d311b4b8f34f3dd1e5b488547d7eb31bcc7083
treedfbe915d1e2a1b352b80dd8c9eeed5dfb638e9ae
parent8b4da3ef92060c281aa3c541ed7aab51500cf7c8
i2c: mlxbf: Use readl_poll_timeout_atomic() for polling

Convert the usage of an open-coded custom tight poll while loop
with the provided readl_poll_timeout_atomic() macro.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Asmaa Mnebhi <asmaa@nvidia.com>
Link: https://lore.kernel.org/r/20250212165128.2413430-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-mlxbf.c