summaryrefslogtreecommitdiff
path: root/scripts/rt-tester/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorYasin Lee <yasin.lee.x@gmail.com>2026-02-13 23:14:44 +0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-02-23 08:24:38 +0000
commita318cfc0853706f1d6ce682dba660bc455d674ef (patch)
tree9d93570716a12f3009c3fc28c371349389fd5e48 /scripts/rt-tester/git@git.tavy.me:linux.git
parent585b90c0161ab77416fe3acdbdc55b978e33e16c (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 'scripts/rt-tester/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions