Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-11-03 Thread Jonathan Cameron
On Fri, 2 Nov 2018 10:49:59 -0300 Matheus Tavares wrote: > On 10/28/18 1:40 PM, Jonathan Cameron wrote: > > On Fri, 26 Oct 2018 23:00:00 -0300 > > Matheus Tavares wrote: > > > >> Previously, when spi_read returned an error code inside ad2s90_read_raw, > >> the code was ignored and IIO_VAL_INT

Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-11-03 Thread Jonathan Cameron
On Fri, 2 Nov 2018 10:49:59 -0300 Matheus Tavares wrote: > On 10/28/18 1:40 PM, Jonathan Cameron wrote: > > On Fri, 26 Oct 2018 23:00:00 -0300 > > Matheus Tavares wrote: > > > >> Previously, when spi_read returned an error code inside ad2s90_read_raw, > >> the code was ignored and IIO_VAL_INT

Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-11-02 Thread Matheus Tavares
On 10/28/18 1:40 PM, Jonathan Cameron wrote: On Fri, 26 Oct 2018 23:00:00 -0300 Matheus Tavares wrote: Previously, when spi_read returned an error code inside ad2s90_read_raw, the code was ignored and IIO_VAL_INT was returned. This patch makes the function return the error code returned by

Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-11-02 Thread Matheus Tavares
On 10/28/18 1:40 PM, Jonathan Cameron wrote: On Fri, 26 Oct 2018 23:00:00 -0300 Matheus Tavares wrote: Previously, when spi_read returned an error code inside ad2s90_read_raw, the code was ignored and IIO_VAL_INT was returned. This patch makes the function return the error code returned by

Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-10-28 Thread Jonathan Cameron
On Fri, 26 Oct 2018 23:00:00 -0300 Matheus Tavares wrote: > Previously, when spi_read returned an error code inside ad2s90_read_raw, > the code was ignored and IIO_VAL_INT was returned. This patch makes the > function return the error code returned by spi_read when it fails. > > Signed-off-by:

Re: [PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-10-28 Thread Jonathan Cameron
On Fri, 26 Oct 2018 23:00:00 -0300 Matheus Tavares wrote: > Previously, when spi_read returned an error code inside ad2s90_read_raw, > the code was ignored and IIO_VAL_INT was returned. This patch makes the > function return the error code returned by spi_read when it fails. > > Signed-off-by:

[PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-10-26 Thread Matheus Tavares
Previously, when spi_read returned an error code inside ad2s90_read_raw, the code was ignored and IIO_VAL_INT was returned. This patch makes the function return the error code returned by spi_read when it fails. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 9

[PATCH v2 1/6] staging:iio:ad2s90: Make read_raw return spi_read's error code

2018-10-26 Thread Matheus Tavares
Previously, when spi_read returned an error code inside ad2s90_read_raw, the code was ignored and IIO_VAL_INT was returned. This patch makes the function return the error code returned by spi_read when it fails. Signed-off-by: Matheus Tavares --- drivers/staging/iio/resolver/ad2s90.c | 9