Skip to content
Snippets Groups Projects
Commit 23da6a15 authored by Giuliano Belinassi's avatar Giuliano Belinassi Committed by Jonathan Cameron
Browse files

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: default avatarGiuliano Belinassi <giuliano.belinassi@usp.br>
Acked-by: default avatarAlexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 72e3a524
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment