Jean Delvare
399d6b2653
i2c: Fix oops on bus multiplexer driver loading
...
The two I2C bus multiplexer drivers (i2c-amd756-s4882 and
i2c-nforce2-s4985) make use of the bus they want to multiplex before
checking if it is really present. Swap the instructions to test for
presence first. This fixes a oops reported by Ingo Molnar.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: Ingo Molnar <mingo@elte.hu>
2008-08-10 22:56:15 +02:00
..
2008-08-07 09:55:48 +01:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:33 +02:00
2008-08-10 22:56:15 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:33 +02:00
2008-08-07 09:55:48 +01:00
2008-07-14 22:38:34 +02:00
2008-07-28 12:41:03 +01:00
2008-07-14 22:38:29 +02:00
2008-08-07 09:55:48 +01:00
2008-07-14 22:38:31 +02:00
2008-07-28 12:40:44 +01:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:36 +02:00
2008-01-27 18:14:45 +01:00
2008-07-14 22:38:29 +02:00
2006-07-12 15:43:06 -07:00
2008-07-14 22:38:33 +02:00
2008-08-07 09:55:48 +01:00
2008-07-16 11:07:59 +10:00
2008-07-14 22:38:29 +02:00
2008-08-10 22:56:15 +02:00
2008-07-14 22:38:33 +02:00
2008-07-14 22:38:33 +02:00
2008-04-22 22:16:49 +02:00
2007-10-19 23:21:04 +02:00
2007-10-19 23:21:04 +02:00
2007-02-13 22:09:02 +01:00
2008-07-14 22:38:29 +02:00
2008-04-22 22:16:46 +02:00
2008-07-14 22:38:26 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:29 +02:00
2008-08-07 09:55:48 +01:00
2008-04-22 22:16:49 +02:00
2008-08-07 09:55:48 +01:00
2008-08-07 09:55:48 +01:00
2008-04-22 22:16:47 +02:00
2008-04-22 22:16:49 +02:00
2008-07-14 22:38:33 +02:00
2008-04-22 22:16:49 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:29 +02:00
2008-07-14 22:38:25 +02:00
2008-04-11 12:07:05 +02:00
2008-04-22 22:16:49 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:34 +02:00
2008-07-14 22:38:27 +02:00
2008-07-14 22:38:27 +02:00
2008-07-14 22:38:29 +02:00
2007-02-13 22:09:01 +01:00