iio: imu: adis16475.c: Add has_burst32 flag to adis16477 devices
authorRamona Bolboaca <ramona.bolboaca@analog.com>
Wed, 19 Jul 2023 12:31:51 +0000 (15:31 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 23 Jul 2023 12:24:33 +0000 (13:24 +0100)
adis16477 devices support burst32 function, thus has_burst32
flag should be set to true.

Signed-off-by: Ramona Bolboaca <ramona.bolboaca@analog.com>
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20230719123152.309624-3-ramona.bolboaca@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/adis16475.c

index 243f0a9..17275a5 100644 (file)
@@ -726,6 +726,7 @@ static const struct adis16475_chip_info adis16475_chip_info[] = {
                .max_dec = 1999,
                .sync = adis16475_sync_mode,
                .num_sync = ARRAY_SIZE(adis16475_sync_mode),
+               .has_burst32 = true,
                .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
        },
        [ADIS16477_2] = {
@@ -741,6 +742,7 @@ static const struct adis16475_chip_info adis16475_chip_info[] = {
                .max_dec = 1999,
                .sync = adis16475_sync_mode,
                .num_sync = ARRAY_SIZE(adis16475_sync_mode),
+               .has_burst32 = true,
                .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
        },
        [ADIS16477_3] = {
@@ -756,6 +758,7 @@ static const struct adis16475_chip_info adis16475_chip_info[] = {
                .max_dec = 1999,
                .sync = adis16475_sync_mode,
                .num_sync = ARRAY_SIZE(adis16475_sync_mode),
+               .has_burst32 = true,
                .adis_data = ADIS16475_DATA(16477, &adis16475_timeouts),
        },
        [ADIS16465_1] = {