Re: [PATCH v2] staging: iio: ad5933: fix order of cycle conditions

2016-06-11 Thread Jonathan Cameron
On 11/06/16 18:25, Lars-Peter Clausen wrote: > On 06/11/2016 06:50 PM, Jonathan Cameron wrote: >> On 01/06/16 20:25, Luis de Bethencourt wrote: >>> Correctly handle the settling time cycles value. The else branch is an >>> impossible condition, > 1022 in the else branch of > 511. Flipping the >>>

Re: [PATCH v2] staging: iio: ad5933: fix order of cycle conditions

2016-06-11 Thread Lars-Peter Clausen
On 06/11/2016 06:50 PM, Jonathan Cameron wrote: > On 01/06/16 20:25, Luis de Bethencourt wrote: >> Correctly handle the settling time cycles value. The else branch is an >> impossible condition, > 1022 in the else branch of > 511. Flipping the order. >> >> Based on the Table 13 at the bottom of Pag

Re: [PATCH v2] staging: iio: ad5933: fix order of cycle conditions

2016-06-11 Thread Jonathan Cameron
On 01/06/16 20:25, Luis de Bethencourt wrote: > Correctly handle the settling time cycles value. The else branch is an > impossible condition, > 1022 in the else branch of > 511. Flipping the order. > > Based on the Table 13 at the bottom of Page 25 of the Data Sheet: > http://www.analog.com/media

[PATCH v2] staging: iio: ad5933: fix order of cycle conditions

2016-06-01 Thread Luis de Bethencourt
Correctly handle the settling time cycles value. The else branch is an impossible condition, > 1022 in the else branch of > 511. Flipping the order. Based on the Table 13 at the bottom of Page 25 of the Data Sheet: http://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf Sign