aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2012-04-25 09:44:52 +0200
committerGreg Kroah-Hartman <[email protected]>2012-04-25 10:57:19 -0700
commit07ffd0d071153aa45205891e0e577aaba1d74d0f (patch)
tree54265606f7c3669cdadb62cf06909db4e885cd1d /tools/perf/scripts/python
parent0f3bcfe67f175d4edf0c6ab5487fbe23b6533d4a (diff)
staging:iio:dac:ad5446: Do not exit powerdown when writing a sample
Both the powerdown mode bits and the sample value are stored in the same register, so writing a sample while the device is powered down will clear the power down bits. To avoid this only update the cached value when the device is powered down. Signed-off-by: Lars-Peter Clausen <[email protected]> Acked-by: Jonathan Cameron <[email protected]> ---- v1 actually had a small bug in that it would still write to the device's register when the sample was updated while the device was powered down. This was not critical since it would send out the powerdown mode again. Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions