[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140514155956.GD12911@katana>
Date: Wed, 14 May 2014 17:59:56 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Doug Anderson <dianders@...omium.org>
Cc: Olof Johansson <olof@...om.net>, Ben Dooks <ben-linux@...ff.org>,
Kukjin Kim <kgene.kim@...sung.com>,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org, linux-i2c@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] i2c: s3c2410: resume race fix
On Fri, Apr 11, 2014 at 03:19:41PM -0700, Doug Anderson wrote:
> From: Olof Johansson <olof@...om.net>
>
> Don't unmark the device as suspended until after it's been re-setup.
>
> The main race would be w.r.t. an i2c driver that gets resumed at the same
> time (asyncronously), that is allowed to do a transfer since suspended
> is set to 0 before reinit, but really should have seen the -EIO return
> instead.
>
> Signed-off-by: Olof Johansson <olof@...om.net>
> Signed-off-by: Doug Anderson <dianders@...omium.org>
Applied to for-current, thanks!
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists