Re: [PATCH v5 05/11] staging: iio: ad7780: set pattern values and masks directly

2019-03-16 Thread Jonathan Cameron
On Fri, 15 Mar 2019 23:14:14 -0300 Renato Lui Geh wrote: > The AD7780 driver contains status pattern bits designed for checking > whether serial transfers have been correctly performed. Pattern macros > were previously generated through bit fields. This patch sets good > pattern values directly

[PATCH v5 05/11] staging: iio: ad7780: set pattern values and masks directly

2019-03-15 Thread Renato Lui Geh
The AD7780 driver contains status pattern bits designed for checking whether serial transfers have been correctly performed. Pattern macros were previously generated through bit fields. This patch sets good pattern values directly and masks through GENMASK. Signed-off-by: Renato Lui Geh ---