Re: [PATCH 02/13] staging:iio:accel Add IIO_CHAN_INFO_RAW entries to all drivers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/13/2012 12:04 PM, Jonathan Cameron wrote:
> Precursor to making value read / write attribute optional.
> No processed values in accelerometers.
> 
> Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxxx>
> ---
> [...]
> 
> diff --git a/drivers/staging/iio/accel/adis16209_core.c b/drivers/staging/iio/accel/adis16209_core.c
> index 02c003f..114602e 100644
> --- a/drivers/staging/iio/accel/adis16209_core.c
> +++ b/drivers/staging/iio/accel/adis16209_core.c
> [...]
> @@ -425,7 +426,8 @@ static struct iio_chan_spec adis16209_channels[] = {
>  		.type = IIO_TEMP,
>  		.indexed = 0,
>  		.channel = 0,
> -		.info_mask = IIO_CHAN_INFO_SCALE_SEPARATE_BIT |
> +		.info_mask =  IIO_CHAN_INFO_RAW_SEPARATE_BIT |

Here is a extra space.

> +		IIO_CHAN_INFO_SCALE_SEPARATE_BIT |
>  		IIO_CHAN_INFO_OFFSET_SEPARATE_BIT,
>  		.address = temp,
>  		.scan_index = ADIS16209_SCAN_TEMP,
> [...]
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux