commit | 0149ba2d5b6d6799e6aeb1ae25773008745c1c5a | [log] [tgz] |
---|---|---|
author | Renato Lui Geh <renatogeh@gmail.com> | Fri Mar 15 23:13:13 2019 -0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Thu Apr 04 20:20:03 2019 +0100 |
tree | 9fc8d7ae4713cc566ada7c6bcc75c84c15824c1c | |
parent | ae9f86feb4294864cf7274acae6561ec4d95a7d0 [diff] |
staging: iio: ad7780: add gain reading to ad778x This patch adds a new functionality of reading gain values from the ad778x chips. This value is stored in the chip's state struct and is updated whenever a read or write call is performed on the driver. Signed-off-by: Renato Lui Geh <renatogeh@gmail.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>