Re: [PATCH] i2c: s3c2410: resume race fix

2014-05-14 Thread Wolfram Sang
On Fri, Apr 11, 2014 at 03:19:41PM -0700, Doug Anderson wrote: > From: Olof Johansson > > 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 si

RE: [PATCH] i2c: s3c2410: resume race fix

2014-04-23 Thread Kukjin Kim
Doug Anderson wrote: > > From: Olof Johansson > > 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 rein

[PATCH] i2c: s3c2410: resume race fix

2014-04-11 Thread Doug Anderson
From: Olof Johansson 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 -E