Files
linux/drivers/i2c/busses
Olof Johansson a0d3102153 i2c: s3c2410: resume race fix
commit ce78cc071f upstream.

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@lixom.net>
Signed-off-by: Doug Anderson <dianders@chromium.org>
Acked-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 13:25:39 -07:00
..
2013-02-12 11:33:59 +01:00
2013-11-04 04:31:06 -08:00
2013-10-18 07:45:44 -07:00
2014-06-07 13:25:39 -07:00
2013-02-11 15:59:40 +01:00
2014-06-07 13:25:35 -07:00
2013-02-12 11:33:59 +01:00