Commit 3c7f0c2b authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Jonathan Cameron

staging:iio:adis16400: Set the PROD_ID flag for the adis16334

The adis16334 has the PROD_ID register so set the PROD_ID flag in its chip info.
Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent a7462e64
...@@ -1125,6 +1125,7 @@ static struct adis16400_chip_info adis16400_chips[] = { ...@@ -1125,6 +1125,7 @@ static struct adis16400_chip_info adis16400_chips[] = {
[ADIS16334] = { [ADIS16334] = {
.channels = adis16334_channels, .channels = adis16334_channels,
.num_channels = ARRAY_SIZE(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 */ .gyro_scale_micro = IIO_DEGREE_TO_RAD(50000), /* 0.05 deg/s */
.accel_scale_micro = IIO_G_TO_M_S_2(1000), /* 1 mg */ .accel_scale_micro = IIO_G_TO_M_S_2(1000), /* 1 mg */
.temp_scale_nano = 67850000, /* 0.06785 C */ .temp_scale_nano = 67850000, /* 0.06785 C */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment