Message ID | 1367844539-6812-2-git-send-email-jlu@pengutronix.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/iio/adc/ti_am335x_adc.c b/drivers/iio/adc/ti_am335x_adc.c index ee20c0c..620cc0c 100644 --- a/drivers/iio/adc/ti_am335x_adc.c +++ b/drivers/iio/adc/ti_am335x_adc.c @@ -107,6 +107,7 @@ static int tiadc_channel_init(struct iio_dev *indio_dev, chan->type = IIO_VOLTAGE; chan->indexed = 1; chan->channel = i; + chan->info_mask = IIO_CHAN_INFO_RAW_SEPARATE_BIT; chan->datasheet_name = s; chan->scan_type.sign = 'u'; chan->scan_type.realbits = 12;
Commit "ti_tscadc: Update with IIO map interface & deal with partial activation" by Pantelis Antoniou <panto@antoniou-consulting.com> removed this line. Without it, the in_voltage?_raw entries are missing from sysfs. Signed-off-by: Jan Luebbe <jlu@pengutronix.de> --- drivers/iio/adc/ti_am335x_adc.c | 1 + 1 file changed, 1 insertion(+)