diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2012-10-30 10:26:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-11-04 15:55:44 +0000 |
commit | 3c7f0c2b1150eae8683a98a5a9143d81edfc2762 (patch) | |
tree | 65e33c9b3ca35f09114c1b1fb76a7331b663ee26 | |
parent | a7462e640dbbb0fe3840f460266699a52b1d32f0 (diff) |
staging:iio:adis16400: Set the PROD_ID flag for the adis16334iio-for-3.8c
The adis16334 has the PROD_ID register so set the PROD_ID flag in its chip info.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/staging/iio/imu/adis16400_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/iio/imu/adis16400_core.c b/drivers/staging/iio/imu/adis16400_core.c index a4718c537e79..c3f9bb95c7b3 100644 --- a/drivers/staging/iio/imu/adis16400_core.c +++ b/drivers/staging/iio/imu/adis16400_core.c @@ -1125,6 +1125,7 @@ static struct adis16400_chip_info adis16400_chips[] = { [ADIS16334] = { .channels = adis16334_channels, .num_channels = ARRAY_SIZE(adis16334_channels), + .flags = ADIS16400_HAS_PROD_ID, .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */ .accel_scale_micro = IIO_G_TO_M_S_2(1000), /* 1 mg */ .temp_scale_nano = 67850000, /* 0.06785 C */ |