summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-04-25 11:44:52 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-25 21:57:19 +0400
commit07ffd0d071153aa45205891e0e577aaba1d74d0f (patch)
tree54265606f7c3669cdadb62cf06909db4e885cd1d /README
parent0f3bcfe67f175d4edf0c6ab5487fbe23b6533d4a (diff)
downloadlinux-07ffd0d071153aa45205891e0e577aaba1d74d0f.tar.xz
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 <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> ---- 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 <gregkh@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions