Pavel Herrmann
d3f684f282
hwmon: (max1111) Fix race condition causing NULL pointer exception
...
spi_sync call uses its spi_message parameter to keep completion information,
using a drvdata structure is not thread-safe. Use a mutex to prevent
multiple access to shared driver data.
Signed-off-by: Pavel Herrmann <morpheus.ibis@gmail.com>
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Pavel Machek <pavel@ucw.cz>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Acked-by: Cyril Hrubis <metan@ucw.cz>
Tested-by: Stanislav Brabec <utx@penguin.cz>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
2011-07-17 18:39:19 +02:00
..
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:33 +02:00
2011-05-25 20:43:32 +02:00
2011-02-26 08:59:32 -08:00
2010-03-30 22:02:32 +09:00
2011-05-25 20:43:31 +02:00
2009-12-14 21:17:27 +01:00
2010-10-18 11:03:14 +02:00
2011-03-31 11:26:23 -03:00
2009-12-14 21:17:26 +01:00
2010-09-17 17:24:14 +02:00
2011-07-15 08:09:40 -07:00
2011-01-12 21:55:09 +01:00
2011-03-21 17:59:37 +01:00
2011-01-12 21:55:08 +01:00
2010-08-25 15:42:10 +02:00
2011-02-26 08:59:32 -08:00
2010-03-30 22:02:32 +09:00
2011-01-08 10:55:02 -08:00
2010-10-28 20:31:50 +02:00
2010-11-15 21:38:56 +01:00
2011-01-23 09:28:50 -08:00
2011-01-08 10:55:03 -08:00
2010-10-28 20:31:50 +02:00
2011-07-17 18:39:18 +02:00
2010-03-30 22:02:32 +09:00
2011-06-17 23:22:26 -07:00
2011-01-12 21:55:13 +01:00
2011-01-09 09:10:10 -08:00
2009-12-14 21:17:26 +01:00
2011-07-03 13:32:53 +02:00
2011-02-09 13:45:52 -08:00
2010-08-14 21:08:54 +02:00
2011-01-08 10:55:07 -08:00
2011-07-03 13:32:53 +02:00
2010-10-24 13:41:39 -07:00
2011-05-25 20:43:31 +02:00
2011-01-12 21:55:11 +01:00
2010-10-18 11:03:14 +02:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2011-03-29 14:48:19 +02:00
2011-07-03 13:32:54 +02:00
2011-01-08 10:55:11 -08:00
2010-11-22 12:23:39 -08:00
2011-06-17 23:22:26 -07:00
2011-06-17 23:22:27 -07:00
2011-07-17 18:39:19 +02:00
2011-05-25 20:43:32 +02:00
2011-03-23 10:42:02 +01:00
2011-05-25 20:43:31 +02:00
2011-05-25 20:43:31 +02:00
2011-07-03 13:32:53 +02:00
2011-03-16 06:57:34 -07:00
2011-02-09 13:45:42 -08:00
2011-05-25 20:43:31 +02:00
2010-06-03 11:33:58 +02:00
2011-03-21 17:59:36 +01:00
2010-08-14 21:08:50 +02:00
2009-12-14 21:17:26 +01:00
2011-01-12 21:55:10 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-04-29 16:33:36 +02:00
2009-12-14 21:17:27 +01:00
2011-04-29 16:33:35 +02:00
2009-12-14 21:17:26 +01:00
2011-01-18 12:22:54 -08:00
2011-07-10 08:54:15 -07:00
2011-03-14 22:39:11 -07:00
2010-12-13 09:54:50 -08:00
2010-08-14 21:08:49 +02:00
2010-11-05 10:17:19 -07:00
2011-05-25 20:43:33 +02:00
2011-07-17 18:39:19 +02:00
2009-12-14 21:17:26 +01:00
2011-03-14 22:36:25 -07:00
2011-06-04 10:34:28 -07:00
2011-05-25 20:43:32 +02:00
2011-05-19 08:19:38 -07:00
2011-03-14 22:39:07 -07:00
2011-05-19 08:19:36 -07:00
2011-05-19 08:19:38 -07:00
2010-08-12 11:28:03 +02:00
2011-01-12 21:55:11 +01:00
2011-01-12 21:55:11 +01:00
2011-01-08 10:55:16 -08:00
2011-07-12 06:45:45 -07:00
2011-07-10 08:54:29 -07:00
2011-05-19 08:19:38 -07:00
2011-06-17 23:22:27 -07:00
2011-07-03 13:32:53 +02:00
2011-05-19 08:19:36 -07:00
2011-01-08 10:56:28 -08:00
2011-01-08 10:55:18 -08:00
2010-08-09 20:45:10 -07:00
2011-01-08 10:55:19 -08:00
2011-01-08 10:55:27 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2011-03-31 11:26:23 -03:00
2010-05-27 19:58:49 +02:00
2010-10-28 20:31:50 +02:00
2011-05-01 09:06:35 -07:00
2011-05-19 08:19:40 -07:00
2011-05-19 08:19:39 -07:00
2011-05-25 20:43:31 +02:00
2011-01-12 21:55:09 +01:00
2011-01-08 10:55:48 -08:00
2011-01-08 10:55:30 -08:00
2011-01-08 10:55:31 -08:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2011-03-14 22:39:20 -07:00
2011-01-08 10:55:33 -08:00
2011-01-12 21:55:11 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-12 21:55:09 +01:00
2010-03-30 22:02:32 +09:00
2009-09-17 09:46:51 +02:00