Staging: iio: impedance-analyzer: ad5933: fix wrong comments
authorNizam Haider <nizamhaider786@gmail.com>
Wed, 7 Dec 2016 17:44:47 +0000 (23:14 +0530)
committerJonathan Cameron <jic23@kernel.org>
Sat, 10 Dec 2016 17:50:38 +0000 (17:50 +0000)
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>
drivers/staging/iio/impedance-analyzer/ad5933.c

index 9447898439380b344c49f87c49916cb0050f4989..5e96352fa4ac5aec2c719c874e5835c9f3e5faab 100644 (file)
@@ -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 */