diff options
author | Nizam Haider <nizamhaider786@gmail.com> | 2016-12-07 23:14:47 +0530 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-12-10 17:50:38 +0000 |
commit | f8611c00d9abcf964a288a3f8f13dd18ff4f6512 (patch) | |
tree | 78bfd9442554ce2d2b63e25f4292bb122cd81e36 /drivers/staging | |
parent | 7c271eea7b8a08fdc5334e247fbc6a9c560bc15f (diff) |
Staging: iio: impedance-analyzer: ad5933: fix wrong comments
according to datasheet complete control register is of 2 bytes.
http://www.analog.com/media/en/technical-documentation/data-sheets/AD5933.pdf
Signed-off-by: Nizam Haider <nijam.h@hcl.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/impedance-analyzer/ad5933.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/impedance-analyzer/ad5933.c b/drivers/staging/iio/impedance-analyzer/ad5933.c index 944789843938..5e96352fa4ac 100644 --- a/drivers/staging/iio/impedance-analyzer/ad5933.c +++ b/drivers/staging/iio/impedance-analyzer/ad5933.c @@ -23,8 +23,8 @@ #include <linux/iio/kfifo_buf.h> /* AD5933/AD5934 Registers */ -#define AD5933_REG_CONTROL_HB 0x80 /* R/W, 2 bytes */ -#define AD5933_REG_CONTROL_LB 0x81 /* R/W, 2 bytes */ +#define AD5933_REG_CONTROL_HB 0x80 /* R/W, 1 byte */ +#define AD5933_REG_CONTROL_LB 0x81 /* R/W, 1 byte */ #define AD5933_REG_FREQ_START 0x82 /* R/W, 3 bytes */ #define AD5933_REG_FREQ_INC 0x85 /* R/W, 3 bytes */ #define AD5933_REG_INC_NUM 0x88 /* R/W, 2 bytes, 9 bit */ |