lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <A874F61F95741C4A9BA573A70FE3998F641790F2@DQHE02.ent.ti.com>
Date:	Thu, 18 Oct 2012 23:39:39 +0000
From:	"Kim, Milo" <Milo.Kim@...com>
To:	Lars-Peter Clausen <lars@...afoo.de>
CC:	"cbou@...l.ru" <cbou@...l.ru>,
	Anton Vorontsov <anton.vorontsov@...aro.org>,
	Jonathan Cameron <jic23@...nel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 3/3] lp8788-charger: fix wrong ADC conversion

> > 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.
(drivers/iio/inkern.c)
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,
Milo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ