diff options
| author | 2026-02-13 23:14:44 +0800 | |
|---|---|---|
| committer | 2026-02-23 08:24:38 +0000 | |
| commit | a318cfc0853706f1d6ce682dba660bc455d674ef (patch) | |
| tree | 9d93570716a12f3009c3fc28c371349389fd5e48 /rust/kernel/ssh:/git@git.zx2c4.com | |
| parent | iio: proximity: hx9023s: fix assignment order for __counted_by (diff) | |
iio: proximity: hx9023s: Protect against division by zero in set_samp_freq
Avoid division by zero when sampling frequency is unspecified.
Fixes: 60df548277b7 ("iio: proximity: Add driver support for TYHX's HX9023S capacitive proximity sensor")
Signed-off-by: Yasin Lee <yasin.lee.x@gmail.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
