staging: iio: accel: adis16240: enforce SPI mode on probe function
authorRodrigo Carvalho <rodrigorsdc@gmail.com>
Sat, 7 Dec 2019 04:53:38 +0000 (01:53 -0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 15 Dec 2019 12:18:49 +0000 (12:18 +0000)
commit969fdd86caa5be3e57d9e4b6ba4541ec5a54eae8
tree1804577dac7c982510478797dc62f4d0aa353d2d
parente4c5c4dfaa88e49f33e8c11b52c65c630c0b12a7
staging: iio: accel: adis16240: enforce SPI mode on probe function

According to the datasheet, this driver supports only SPI mode 3,
so we should enforce it on probe function.

Signed-off-by: Rodrigo Carvalho <rodrigorsdc@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/staging/iio/accel/adis16240.c