aboutsummaryrefslogtreecommitdiff
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2008-08-10 22:56:15 +0200
committerJean Delvare <khali@mahadeva.delvare>2008-08-10 22:56:15 +0200
commit399d6b26539d83dd734746dc2292d53fbc5807b2 (patch)
tree3f13ea26c570dafab9c516179da3342cca697858 /drivers/input/misc
parent796aadeb1b2db9b5d463946766c5bbfd7717158c (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>
Diffstat (limited to 'drivers/input/misc')
0 files changed, 0 insertions, 0 deletions