On Fri, Apr 11, 2014 at 03:19:41PM -0700, Doug Anderson wrote: > From: Olof Johansson <olof@xxxxxxxxx> > > 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@xxxxxxxxx> > Signed-off-by: Doug Anderson <dianders@xxxxxxxxxxxx> Applied to for-current, thanks!
Attachment:
signature.asc
Description: Digital signature