commit | a26302628ad164980493ab7768a05a7f3a8d8842 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Fri Mar 01 13:07:00 2013 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Mar 02 16:22:13 2013 +0000 |
tree | 7c621c678c86361cfd03e03d68990c31817e84ee | |
parent | 76426daf50d5df38893cc189e9ccd026093debc8 [diff] |
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>