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] [thread-next>] [day] [month] [year] [list]
Date:	Sun, 24 Jul 2016 13:07:55 +0100
From:	Jonathan Cameron <jic23@...nel.org>
To:	"Breana, Tiberiu A" <tiberiu.a.breana@...el.com>,
	Alison Schofield <amsfield22@...il.com>
Cc:	"mranostay@...il.com" <mranostay@...il.com>,
	"knaack.h@....de" <knaack.h@....de>,
	"lars@...afoo.de" <lars@...afoo.de>,
	"pmeerw@...erw.net" <pmeerw@...erw.net>,
	"linux-iio@...r.kernel.org" <linux-iio@...r.kernel.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] iio: humidity: am2315: set up buffer timestamps for
 non-zero values

On 11/07/16 16:54, Breana, Tiberiu A wrote:
>> -----Original Message-----
>> From: Alison Schofield [mailto:amsfield22@...il.com]
>> Sent: Monday, July 11, 2016 6:26 PM
>> To: jic23@...nel.org
>> Cc: Breana, Tiberiu A <tiberiu.a.breana@...el.com>; mranostay@...il.com;
>> knaack.h@....de; lars@...afoo.de; pmeerw@...erw.net; linux-
>> iio@...r.kernel.org; linux-kernel@...r.kernel.org
>> Subject: [PATCH 2/3] iio: humidity: am2315: set up buffer timestamps for non-
>> zero values
>>
>> Use the iio_pollfunc_store_time parameter during triggered buffer set-up to get
>> valid timestamps.
>>
>> Signed-off-by: Alison Schofield <amsfield22@...il.com>
>> Cc: Daniel Baluta <daniel.baluta@...il.com>
>> ---
> 
> +1
> Reviewed-By: Tiberiu Breana <tiberiu.a.breana@...el.com>
Applied to the fixes-togreg-post-rc1 branch of iio.git and marked for stable.

Thanks,
Jonathan
> 
>>  drivers/iio/humidity/am2315.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/drivers/iio/humidity/am2315.c b/drivers/iio/humidity/am2315.c
>> index 3e200f6..ff96b6d 100644
>> --- a/drivers/iio/humidity/am2315.c
>> +++ b/drivers/iio/humidity/am2315.c
>> @@ -244,7 +244,7 @@ static int am2315_probe(struct i2c_client *client,
>>  	indio_dev->channels = am2315_channels;
>>  	indio_dev->num_channels = ARRAY_SIZE(am2315_channels);
>>
>> -	ret = iio_triggered_buffer_setup(indio_dev, NULL,
>> +	ret = iio_triggered_buffer_setup(indio_dev, iio_pollfunc_store_time,
>>  					 am2315_trigger_handler, NULL);
>>  	if (ret < 0) {
>>  		dev_err(&client->dev, "iio triggered buffer setup failed\n");
>> --
>> 2.1.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ