commit | 399d6b26539d83dd734746dc2292d53fbc5807b2 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Sun Aug 10 22:56:15 2008 +0200 |
committer | Jean Delvare <khali@mahadeva.delvare> | Sun Aug 10 22:56:15 2008 +0200 |
tree | 3f13ea26c570dafab9c516179da3342cca697858 | |
parent | 796aadeb1b2db9b5d463946766c5bbfd7717158c [diff] |
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>