diff options
| -rw-r--r-- | drivers/iio/counter/104-quad-8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/counter/104-quad-8.c b/drivers/iio/counter/104-quad-8.c index 2d2ee353dde7..c0a69d7e9ce7 100644 --- a/drivers/iio/counter/104-quad-8.c +++ b/drivers/iio/counter/104-quad-8.c | |||
| @@ -362,7 +362,7 @@ static int quad8_set_synchronous_mode(struct iio_dev *indio_dev, | |||
| 362 | priv->synchronous_mode[chan->channel] = synchronous_mode; | 362 | priv->synchronous_mode[chan->channel] = synchronous_mode; |
| 363 | 363 | ||
| 364 | /* Load Index Control configuration to Index Control Register */ | 364 | /* Load Index Control configuration to Index Control Register */ |
| 365 | outb(0x40 | idr_cfg, base_offset); | 365 | outb(0x60 | idr_cfg, base_offset); |
| 366 | 366 | ||
| 367 | return 0; | 367 | return 0; |
| 368 | } | 368 | } |
| @@ -444,7 +444,7 @@ static int quad8_set_index_polarity(struct iio_dev *indio_dev, | |||
| 444 | priv->index_polarity[chan->channel] = index_polarity; | 444 | priv->index_polarity[chan->channel] = index_polarity; |
| 445 | 445 | ||
| 446 | /* Load Index Control configuration to Index Control Register */ | 446 | /* Load Index Control configuration to Index Control Register */ |
| 447 | outb(0x40 | idr_cfg, base_offset); | 447 | outb(0x60 | idr_cfg, base_offset); |
| 448 | 448 | ||
| 449 | return 0; | 449 | return 0; |
| 450 | } | 450 | } |
