[PATCH v5 1/2] staging: iio: accel: adis16240: enforce SPI mode on probe function

2019-11-23 Thread Rodrigo Carvalho
According to the datasheet, this driver supports only SPI mode 3, so we should enforce it and call spi_setup() on probe function. Signed-off-by: Rodrigo Ribeiro Carvalho --- V5: - Add this patch to the patchset drivers/staging/iio/accel/adis16240.c | 7 +++ 1 file changed, 7 insertions(+)

Re: [PATCH v5 1/2] staging: iio: accel: adis16240: enforce SPI mode on probe function

2019-11-24 Thread Ardelean, Alexandru
On Sat, 2019-11-23 at 20:35 -0300, Rodrigo Carvalho wrote: > [External] > > According to the datasheet, this driver supports only SPI mode 3, > so we should enforce it and call spi_setup() on probe function. > > Signed-off-by: Rodrigo Ribeiro Carvalho > --- > V5: > - Add this patch to the patc

Re: [PATCH v5 1/2] staging: iio: accel: adis16240: enforce SPI mode on probe function

2019-12-01 Thread Jonathan Cameron
On Mon, 25 Nov 2019 07:55:39 + "Ardelean, Alexandru" wrote: > On Sat, 2019-11-23 at 20:35 -0300, Rodrigo Carvalho wrote: > > [External] > > > > According to the datasheet, this driver supports only SPI mode 3, > > so we should enforce it and call spi_setup() on probe function. > > > > Signe

Re: [PATCH v5 1/2] staging: iio: accel: adis16240: enforce SPI mode on probe function

2019-12-03 Thread Ardelean, Alexandru
On Sun, 2019-12-01 at 11:42 +, Jonathan Cameron wrote: > [External] > > On Mon, 25 Nov 2019 07:55:39 + > "Ardelean, Alexandru" wrote: > > > On Sat, 2019-11-23 at 20:35 -0300, Rodrigo Carvalho wrote: > > > [External] > > > > > > According to the datasheet, this driver supports only SPI m