Re: [PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-03-04 Thread Ardelean, Alexandru
On Sat, 2019-03-02 at 19:08 +, Jonathan Cameron wrote: > [External] > > > On Sat, 2 Mar 2019 19:07:16 + > Jonathan Cameron wrote: > > > On Fri, 1 Mar 2019 07:17:04 + > > "Ardelean, Alexandru" wrote: > > > > > On Thu, 2019-02-28 at 11:24 -0300, Renato Lui Geh wrote: > > > > > > >

Re: [PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-03-02 Thread Jonathan Cameron
On Sat, 2 Mar 2019 19:07:16 + Jonathan Cameron wrote: > On Fri, 1 Mar 2019 07:17:04 + > "Ardelean, Alexandru" wrote: > > > On Thu, 2019-02-28 at 11:24 -0300, Renato Lui Geh wrote: > > > > > > > > > The AD7780 driver contains status pattern bits designed for checking > > > whether se

Re: [PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-03-02 Thread Jonathan Cameron
On Fri, 1 Mar 2019 07:17:04 + "Ardelean, Alexandru" wrote: > On Thu, 2019-02-28 at 11:24 -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 previous

Re: [PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-02-28 Thread Ardelean, Alexandru
On Thu, 2019-02-28 at 11:24 -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 direct

[PATCH v4 3/9] staging: iio: ad7780: set pattern values and masks directly

2019-02-28 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 --- driv