diff options
| author | 2018-11-08 11:03:20 -0200 | |
|---|---|---|
| committer | 2018-11-16 18:32:17 +0000 | |
| commit | 23da6a15113e97043d37b2ac83d234cd43dc627b (patch) | |
| tree | 9116385d7f3a94636f1b45987f86c2ed734db8ed /include/linux | |
| parent | staging: iio: ad7816: Set RD/WR pin and CONVST pin as outputs. (diff) | |
staging: iio: ad7780: check if ad778x before gain update
Only the ad778x have the 'gain' status bit. Check it before updating
through a new variable is_ad778x in chip_info.
Signed-off-by: Giuliano Belinassi <giuliano.belinassi@usp.br>
Acked-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
