aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexandru Ardelean <[email protected]>2020-02-10 15:26:04 +0200
committerJonathan Cameron <[email protected]>2020-03-08 17:28:31 +0000
commit1fd4567026926d01a94a74d0543e324fc794aa73 (patch)
treebc615327ded1a609277037fcd9d3d05a45ccbaf0 /tools/perf/scripts/python/exported-sql-viewer.py
parentecb010d441088c447785a1249e69003437f96c9c (diff)
iio: imu: adis: add support product ID check in adis_initial_startup
Each driver/chip that wants to validate it's product id, can now specify a 'prod_id_reg' and an expected 'prod_id' value. The 'prod_id' value is intentionally left 0 (uninitialized). There aren't (yet) any product IDs with value 0; this enforces that both 'prod_id_reg' and 'prod_id' are specified. At the very least, this routine validates that the SPI connection to the ADIS chip[s] works well. Signed-off-by: Alexandru Ardelean <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions