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: <7618daba-7fb8-4e14-97ed-72bdd13a14a3@kernel.org>
Date:   Sun, 2 Apr 2017 10:18:31 +0100
From:   Jonathan Cameron <jic23@...nel.org>
To:     Shrirang Bagul <shrirang.bagul@...onical.com>
Cc:     Hartmut Knaack <knaack.h@....de>,
        Lars-Peter Clausen <lars@...afoo.de>,
        Peter Meerwald-Stadler <pmeerw@...erw.net>,
        Gregor Boirie <gregor.boirie@...rot.com>,
        Linus Walleij <linus.walleij@...aro.org>,
        Marcin Niestroj <m.niestroj@...nn-global.com>,
        Rob Herring <rob@...nel.org>, linux-iio@...r.kernel.org,
        linux-kernel@...r.kernel.org
Subject: Re: [RESEND PATCH] iio: st_pressure: initialize lps22hb bootime

On 30/03/17 16:47, Shrirang Bagul wrote:
> This patch initializes the bootime in struct st_sensor_settings for
> lps22hb sensor. Without this, sensor channels read from sysfs always
> report stale values.
> 
> Signed-off-by: Shrirang Bagul <shrirang.bagul@...onical.com>
Applied to the fixes-togreg branch of iio.git and marked for stable.

Thanks,

Jonathan
> ---
>  drivers/iio/pressure/st_pressure_core.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/pressure/st_pressure_core.c b/drivers/iio/pressure/st_pressure_core.c
> index 5f26808..fd0edca 100644
> --- a/drivers/iio/pressure/st_pressure_core.c
> +++ b/drivers/iio/pressure/st_pressure_core.c
> @@ -457,6 +457,7 @@ static const struct st_sensor_settings st_press_sensors_settings[] = {
>  			.addr_stat_drdy = ST_SENSORS_DEFAULT_STAT_ADDR,
>  		},
>  		.multi_read_bit = true,
> +		.bootime = 2,
>  	},
>  };
>  
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ