summaryrefslogtreecommitdiff
path: root/drivers/i3c
diff options
context:
space:
mode:
authorYasin Lee <yasin.lee.x@gmail.com>2026-02-13 23:14:44 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-03-19 16:08:47 +0100
commitad9da7d39cecd3e92f54149ea0ebca390f33fe69 (patch)
tree1afeb6acf2b969c1241554991baaaf4f8e4c0f47 /drivers/i3c
parent05723a2c4b09dddc258fc7c496b7750c729d3fd9 (diff)
iio: proximity: hx9023s: Protect against division by zero in set_samp_freq
commit a318cfc0853706f1d6ce682dba660bc455d674ef upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/i3c')
0 files changed, 0 insertions, 0 deletions