Re: [PATCH]iio:max1363 fix typos of int_vref_mv

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

 



On 16/02/14 11:47, Hartmut Knaack wrote:
This patch fixes some typos in max1363_chip_info_tbl[].

Signed-off-by: Hartmut Knaack <knaack.h@xxxxxx>
Good spot.  As it has been there for quite some time and no one has
noticed, I'll put this through the togreg branch rather than fixes-togreg.

Applied to the togreg branch of iio.git.  Thanks.
---
diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max1363.c
index e283f2f..de7d3b4 100644
--- a/drivers/iio/adc/max1363.c
+++ b/drivers/iio/adc/max1363.c
@@ -1253,7 +1253,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
  	},
  	[max11604] = {
  		.bits = 8,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
  		.mode_list = max1238_mode_list,
  		.num_modes = ARRAY_SIZE(max1238_mode_list),
  		.default_mode = s0to11,
@@ -1313,7 +1313,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
  	},
  	[max11610] = {
  		.bits = 10,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
  		.mode_list = max1238_mode_list,
  		.num_modes = ARRAY_SIZE(max1238_mode_list),
  		.default_mode = s0to11,
@@ -1373,7 +1373,7 @@ static const struct max1363_chip_info max1363_chip_info_tbl[] = {
  	},
  	[max11616] = {
  		.bits = 12,
-		.int_vref_mv = 4098,
+		.int_vref_mv = 4096,
  		.mode_list = max1238_mode_list,
  		.num_modes = ARRAY_SIZE(max1238_mode_list),
  		.default_mode = s0to11,
--
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


--
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