summaryrefslogtreecommitdiffstats
path: root/drivers/iio/gyro/adis16136.c
Commit message (Collapse)AuthorAgeFilesLines
* iio:gyro:adis16136 move to info_mask_(shared_by_type/separate)Jonathan Cameron2013-03-171-6/+7
| | | | | | | The original info_mask is going away in favour of the broken out versions. Signed-off-by: Jonathan Cameron <jic23@kernel.org> Acked-by: Lars-Peter Clausen <lars@metafoo.de>
* iio: gyro: adis16136: remove duplicated include from adis16136.cWei Yongjun2012-11-301-1/+0
| | | | | | | Remove duplicated include. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio:gyro: adis16136: divide by zero in write_frequency()Dan Carpenter2012-11-301-2/+2
| | | | | | | | | | | It's slightly cleaner to use kstrtouint() because we pass unsigned ints to adis16136_set_freq(). On 64 bit systems, if the user passed LONG_MIN then it we would get past the test against zero but crash in adis16136_set_freq() because we truncate the high bits away. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-By: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
* iio:gyro: Add support for the ADIS16136 gyroscopeLars-Peter Clausen2012-11-201-0/+581
This patch adds support for the ADIS16133, ADIS16135, ADIS16136 single channel gyroscopes. The main difference between them is the sensor precision. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
OpenPOWER on IntegriCloud