staging:iio:resolver Add IIO_CHAN_INFO_RAW entries to all drivers.
authorJonathan Cameron <jic23@kernel.org>
Sun, 15 Apr 2012 16:41:24 +0000 (17:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Apr 2012 23:38:20 +0000 (16:38 -0700)
Precursor to making value read / write attribute optional.
No processed values in resolvers at the moment.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/iio/resolver/ad2s1200.c
drivers/staging/iio/resolver/ad2s1210.c
drivers/staging/iio/resolver/ad2s90.c

index d8ce854c1897113562f94f1e047e9178bb2eb0a8..0465e5dff23ab3bf0b817845b1f0920e3d43fe73 100644 (file)
@@ -85,10 +85,12 @@ static const struct iio_chan_spec ad2s1200_channels[] = {
                .type = IIO_ANGL,
                .indexed = 1,
                .channel = 0,
+               .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,
        }, {
                .type = IIO_ANGL_VEL,
                .indexed = 1,
                .channel = 0,
+               .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,
        }
 };
 
index c439fcf72be7e91e663c8661cc0a340c2bb54b32..c6ced163105d5977cdb0656ae73bccb1975fc9f2 100644 (file)
@@ -580,10 +580,12 @@ static struct iio_chan_spec ad2s1210_channels[] = {
                .type = IIO_ANGL,
                .indexed = 1,
                .channel = 0,
+               .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,
        }, {
                .type = IIO_ANGL_VEL,
                .indexed = 1,
                .channel = 0,
+               .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,
        }
 };
 
index 2a86f582ddf1065e71744ddc2e4be322cd104851..20ca5298cdf256ee888a93dbd1da0b3be5a69119 100644 (file)
@@ -55,6 +55,7 @@ static const struct iio_chan_spec ad2s90_chan = {
        .type = IIO_ANGL,
        .indexed = 1,
        .channel = 0,
+       .info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT,
 };
 
 static int __devinit ad2s90_probe(struct spi_device *spi)
This page took 0.036909 seconds and 5 git commands to generate.