Re: [PATCH 2/5] iio: proximity: hx9023s: Protect against division by zero in set_samp_freq

From: Andy Shevchenko

Date: Tue Feb 10 2026 - 12:34:23 EST


On Wed, Feb 11, 2026 at 12:29:15AM +0800, Yasin Lee wrote:
> On Mon, Feb 9, 2026 at 4:46 PM Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxx> wrote:
> >
> > On Mon, Feb 09, 2026 at 11:37:03AM +0800, Yasin Lee wrote:
> > > Avoid division by zero when sampling frequency is unspecified by
> > > falling back to a default 100ms sampling period.
> >
> > Fixes tag?

> This is a proactive fix for an original implementation issue I found as
> maintainer.

Cool, any objections to use Fixes tag?

--
With Best Regards,
Andy Shevchenko