diff options
| author | Sean Young <sean@mess.org> | 2026-09-09 11:04:40 +0100 |
|---|---|---|
| committer | Sean Young <sean@mess.org> | 2026-09-22 14:50:18 +0100 |
| commit | 05d9c515cf13056875abbf73adb4a19dd7ba32eb (patch) | |
| tree | 9aaad1b75c30692bf4ae4befdb13969982da777f /tools/perf/scripts/python/bin | |
| parent | 27303392aa87b61692faadec8b00e0ca66bf98dd (diff) | |
media: meson-ir-tx: Prevent divide by zero in meson_irtx_prepare_pulse()
If an excesively high carrier is set, meson_irtx_prepare_pulse() will
cause a divide by zero if tb_us is 0. Prevent such a carrier from being
set.
Fixes: 49be1c78d575 ("media: rc: introduce Meson IR TX driver")
Signed-off-by: Sean Young <sean@mess.org>
Cc: stable@vger.kernel.org
Acked-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
