staging iio adt7410: make 16bit mode default
commitd297b9bdad044a732223b44c19e8223d93fd3aa0
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 3 Jul 2012 09:21:28 +0000 (3 11:21 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 8 Jul 2012 09:39:59 +0000 (8 10:39 +0100)
tree0faf395686355e8fb19131e76bd3037d92ba4292
parent6d459aa011cb087ed1f5c17836b032fcc670e306
staging iio adt7410: make 16bit mode default

In 13bit mode the lower three bits of the adc value contain
flags. The driver does not use these flags at all, so make 16bit
mode the default.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/adt7410.c