aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorNuno Sa <[email protected]>2024-07-04 11:25:23 +0200
committerJonathan Cameron <[email protected]>2024-07-29 20:31:11 +0100
commitb92f94f7482697e94f06ec483b7b4cfcc41e7497 (patch)
treeee231684fe817be94dc9af1e3168e4904ad02551 /tools/perf/scripts/python/bin/stackcollapse-record
parentbdc87f98cab780a6edfa658f20d9f95ad7e7efea (diff)
iio: adc: ad9467: don't allow reading vref if not available
If there's only one possible scale, there's no way to change the Vref select in the device so avoid reading the register in ad9467_get_scale(). In this case, it makes no sense to provide the .read_available() callback nor allowing for writing the scale attribute. Note this is in preparation for supporting a new device that only has one possible scale. Signed-off-by: Nuno Sa <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions