diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-03-01 13:07:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-03-02 16:22:13 +0000 |
commit | a26302628ad164980493ab7768a05a7f3a8d8842 (patch) | |
tree | 7c621c678c86361cfd03e03d68990c31817e84ee /drivers/iio/industrialio-core.c | |
parent | 76426daf50d5df38893cc189e9ccd026093debc8 (diff) | |
download | linux-stable-a26302628ad164980493ab7768a05a7f3a8d8842.tar.gz linux-stable-a26302628ad164980493ab7768a05a7f3a8d8842.tar.bz2 linux-stable-a26302628ad164980493ab7768a05a7f3a8d8842.zip |
iio:ad5064: Fix address of the second channel for ad5065/ad5045/ad5025
The ad5065, ad5045, ad5025 use address '3' for the second channel, so they need
their own channel spec.
Note that ad5064_sync_powerdown_mode() also needs to be slightly updated since
it was relying on the fact that chan->address always equaled chan->channel.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/industrialio-core.c')
0 files changed, 0 insertions, 0 deletions