[meta-xilinx] Bug in xilinx-xadc-core
MUGRIDGE Robin
Robin.Mugridge at oxinst.com
Tue Jul 7 03:40:43 PDT 2015
Hi,
I'm using meta-xilinx (fido) and 3.14 kernel and have identified a bug in the drivers/iio/adc/xilinx-xadc-core.c file which gives incorrect values for vccaux.
...
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), <-- Should be: XADC_CHAN_VOLTAGE(1, 10, XADC_REG_VCCAUX, "vccaux", true),
XADC_CHAN_VOLTAGE(2, 14, XADC_REG_VCCBRAM, "vccbram", true)
...
I'm quite new to this so am not sure of the process of submitting a fix - I could generate a bbappend and patch this myself, but it probably ought to be done in the linux-xlnx sources. Can someone arrange this?
Thanks,
Robin
___________________________________________________________________________This e-mail is confidential and is for the addressee only. Please refer to www.oxinst.com/email-statement for regulatory information.
More information about the meta-xilinx
mailing list