forked from Minki/linux
staging:iio: add quadrature correction to chan info types.
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
d34dbee8ac
commit
7d43817803
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
/* The industrial I/O core
|
/* The industrial I/O core
|
||||||
*
|
*
|
||||||
* Copyright (c) 2008 Jonathan Cameron
|
* Copyright (c) 2008 Jonathan Cameron
|
||||||
@ -75,6 +76,8 @@ enum iio_chan_info_enum {
|
|||||||
IIO_CHAN_INFO_PEAK_SEPARATE,
|
IIO_CHAN_INFO_PEAK_SEPARATE,
|
||||||
IIO_CHAN_INFO_PEAK_SCALE_SHARED,
|
IIO_CHAN_INFO_PEAK_SCALE_SHARED,
|
||||||
IIO_CHAN_INFO_PEAK_SCALE_SEPARATE,
|
IIO_CHAN_INFO_PEAK_SCALE_SEPARATE,
|
||||||
|
IIO_CHAN_INFO_QUADRATURE_CORRECTION_RAW_SHARED,
|
||||||
|
IIO_CHAN_INFO_QUADRATURE_CORRECTION_RAW_SEPARATE,
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -85,6 +85,8 @@ static const char * const iio_chan_info_postfix[] = {
|
|||||||
[IIO_CHAN_INFO_CALIBBIAS_SHARED/2] = "calibbias",
|
[IIO_CHAN_INFO_CALIBBIAS_SHARED/2] = "calibbias",
|
||||||
[IIO_CHAN_INFO_PEAK_SHARED/2] = "peak_raw",
|
[IIO_CHAN_INFO_PEAK_SHARED/2] = "peak_raw",
|
||||||
[IIO_CHAN_INFO_PEAK_SCALE_SHARED/2] = "peak_scale",
|
[IIO_CHAN_INFO_PEAK_SCALE_SHARED/2] = "peak_scale",
|
||||||
|
[IIO_CHAN_INFO_QUADRATURE_CORRECTION_RAW_SHARED/2]
|
||||||
|
= "quadrature_correction_raw",
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Return a negative errno on failure */
|
/* Return a negative errno on failure */
|
||||||
|
Loading…
Reference in New Issue
Block a user