summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGabriel Shahrouzi <gshahrouzi@gmail.com>2025-04-19 21:30:09 -0400
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2025-05-21 14:20:28 +0100
commit60638e2a2d4bc03798f00d5ab65ce9b83cb8b03b (patch)
treecc3eb1147713eca34dd5dbf0ccd908f7a6d46ee1 /tools/perf/scripts/python
parentb31a74075cb4ca2bb202a2e17d133ef3c9ee891f (diff)
downloadlinux-60638e2a2d4bc03798f00d5ab65ce9b83cb8b03b.tar.gz
linux-60638e2a2d4bc03798f00d5ab65ce9b83cb8b03b.zip
staging: iio: ad5933: Correct settling cycles encoding per datasheet
The AD5933 datasheet (Table 13) lists the maximum cycles to be 0x7FC (2044). Clamp the user input to the maximum effective value of 0x7FC cycles. Fixes: f94aa354d676 ("iio: impedance-analyzer: New driver for AD5933/4 Impedance Converter, Network Analyzer") Cc: stable@vger.kernel.org Signed-off-by: Gabriel Shahrouzi <gshahrouzi@gmail.com> Reviewed-by: Marcelo Schmitt <marcelo.schmitt1@gmail.com> Link: https://patch.msgid.link/20250420013009.847851-1-gshahrouzi@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions