]> err.no Git - linux-2.6/commit
i2c-parport: Fix a minor race on driver unload
authorJean Delvare <khali@linux-fr.org>
Tue, 1 May 2007 21:26:30 +0000 (23:26 +0200)
committerJean Delvare <khali@hyperion.delvare>
Tue, 1 May 2007 21:26:30 +0000 (23:26 +0200)
commit3af07bd297b6ba3d77474fdb3b2656dd3f0404d5
tree33536cb27d8dd6299b731d52cf0b51ebecd3ce4a
parent4b4686e7a6fe8347938beef518e9b309127945f1
i2c-parport: Fix a minor race on driver unload

When unloading the driver, we really want to unregister the i2c adapter
before we power it off, rather than the other way around.

Also speed up the bus a bit when we can sense SCL. The slaves will
stretch the line as needed.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/busses/i2c-parport.c