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:	Thu, 11 Aug 2016 20:30:21 +0530
From:	Laxman Dewangan <ldewangan@...dia.com>
To:	Jon Hunter <jonathanh@...dia.com>,
	Wolfram Sang <wsa@...-dreams.de>,
	Stephen Warren <swarren@...dotorg.org>,
	Thierry Reding <thierry.reding@...il.com>,
	Alexandre Courbot <gnurou@...il.com>
CC:	<linux-i2c@...r.kernel.org>, <linux-tegra@...r.kernel.org>,
	<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 4/6] i2c: tegra: Simplify I2C resume


On Thursday 11 August 2016 03:46 PM, Jon Hunter wrote:
> The I2C adapter is unlocked regardless of whether the tegra_i2c_init()
> called during the resume is successful or not. However, if the
> tegra_i2c_init() is not successful, then ->is_suspended is not set to
> false. Simplify the resume code by only setting ->is_suspended to false
> if tegra_i2c_init() is successful and return the error code from
> tegra_i2c_init().
>
> Signed-off-by: Jon Hunter <jonathanh@...dia.com>
>
Acked-by: Laxman Dewangan <ldewangan@...dia.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ