aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWilliam Breathitt Gray <[email protected]>2022-07-07 13:21:25 -0400
committerJonathan Cameron <[email protected]>2022-07-16 18:48:20 +0100
commite1d965cebe82e59e6a4c0cf115e5dbd7a9a0d9e5 (patch)
treee5e19cc29c949479a5e9e4145a8f4fa80a8ce449 /tools/perf/scripts/python
parent6cfd14c54b1f42f29097244c1b6208f8268d7d5b (diff)
iio: dac: cio-dac: Cleanup indexing for DAC writes
Simplify DAC write code by defining base member as u16 __iomem *; DAC registers are 16-bit so this allows us to index each DAC channel directly in a loop rather than calculating the offsets by multipling by 2 each time. Signed-off-by: William Breathitt Gray <[email protected]> Link: https://lore.kernel.org/r/d9dab6696af7eabb2d46f5cbc7871329f499c1c9.1657213745.git.william.gray@linaro.org Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions