aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorHimanshu Jha <[email protected]>2018-08-11 15:56:36 +0530
committerJonathan Cameron <[email protected]>2018-08-19 20:07:25 +0100
commit892e62fab4983656d3ca5df4e83fdf2b496c06e4 (patch)
treeae9ed0ca9d8c9cf9012f34ac5bbc2561e8d9205b /tools/perf/scripts/python/bin/stackcollapse-record
parent010de20412fc40dabfbab926358ecd9c4486dd0d (diff)
iio: chemical: bme680: Add check for val2 in the write_raw function
val2 is responsible for the floating part of the number to be written to the device. We don't need the floating part while writing the oversampling ratio for BME680 since the available oversampling ratios are pure natural numbers. So, add a sanity check to make sure val2 is 0. Signed-off-by: Himanshu Jha <[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