Re: [PATCH v2] iio: imu: bmi323: remove unnecessary cast in watermark limit

From: Andy Shevchenko

Date: Tue Jun 09 2026 - 09:33:21 EST


On Mon, Jun 08, 2026 at 12:15:58PM +0000, Hungyu Lin wrote:
> Remove the explicit u32 cast in the watermark limit calculation.
>
> The BMI323_FIFO_FULL_IN_FRAMES macro can be used directly with
> min() without triggering type issues.

Right, now it looks much better.
Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>

--
With Best Regards,
Andy Shevchenko