commit | c036a324c03eed9a31a2733fa2ad4ae96840244e | [log] [tgz] |
---|---|---|
author | Giuliano Belinassi <giuliano.belinassi@gmail.com> | Thu Nov 08 11:03:40 2018 -0200 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Fri Nov 16 18:32:26 2018 +0000 |
tree | 89f3991906ba7cb28d4097bad0f08e28ee1295a7 | |
parent | 23da6a15113e97043d37b2ac83d234cd43dc627b [diff] |
staging: iio: ad7780: generates pattern_mask from PAT bits Previously, all pattern_masks and patterns in the chip_info table were hardcoded. Now they are generated using the PAT macros, as described in the datasheets. Signed-off-by: Giuliano Belinassi <giuliano.belinassi@usp.br> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>