RE: [PATCH 3/3] lp8788-charger: fix wrong ADC conversion

From: Kim, Milo
Date: Thu Oct 18 2012 - 19:39:45 EST

> > We now have a function in the IIO core which does the sampling +
> > conversion
> > in one step: iio_read_channel_processed. This basically allows you to
> > reduce
> > this function to
> >
> > return iio_read_channel_processed(channel, result);
> I was hesitating it before sending this patch. :)
> Currently, LP8788 ADC driver has no iio channel info for PROCESSED.
> Thus, I'll add it in the LP8788 ADC driver first.
> Then I'll send the patch for lp8788-charger again.

I just found you have already handled in case that IIO driver has no IIO_CHAN_INFO_PROCESSED.
So I don't need to worry about the LP8788 ADC driver.
Only the IIO consumer driver(lp8788-charger) needs to be fixed.

Thank you,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at