On 15/04/15 20:11, Thomas Betker wrote: > From: Thomas Betker <thomas.betker@xxxxxxxxxxxxxxxxx> > > For the "vccaux" channel, read the VCCAUX register, not VCCINT. > > Signed-off-by: Thomas Betker <thomas.betker@xxxxxxxxxxxxxxxxx> Applied to the fixes-togreg branch of iio.git. Marked for stable Thanks > --- > drivers/iio/adc/xilinx-xadc-core.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/iio/adc/xilinx-xadc-core.c b/drivers/iio/adc/xilinx-xadc-core.c > index a221f73..0ad7b50 100644 > --- a/drivers/iio/adc/xilinx-xadc-core.c > +++ b/drivers/iio/adc/xilinx-xadc-core.c > @@ -1008,7 +1008,7 @@ static const struct iio_event_spec xadc_voltage_events[] = { > static const struct iio_chan_spec xadc_channels[] = { > XADC_CHAN_TEMP(0, 8, XADC_REG_TEMP), > XADC_CHAN_VOLTAGE(0, 9, XADC_REG_VCCINT, "vccint", true), > - XADC_CHAN_VOLTAGE(1, 10, XADC_REG_VCCINT, "vccaux", true), > + XADC_CHAN_VOLTAGE(1, 10, XADC_REG_VCCAUX, "vccaux", true), > XADC_CHAN_VOLTAGE(2, 14, XADC_REG_VCCBRAM, "vccbram", true), > XADC_CHAN_VOLTAGE(3, 5, XADC_REG_VCCPINT, "vccpint", true), > XADC_CHAN_VOLTAGE(4, 6, XADC_REG_VCCPAUX, "vccpaux", true), > -- 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