]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
i2c-dev: Unbound new-style i2c clients aren't busy
authorJean Delvare <khali@linux-fr.org>
Thu, 15 Nov 2007 18:24:01 +0000 (19:24 +0100)
committerJean Delvare <khali@hyperion.delvare>
Thu, 15 Nov 2007 18:24:01 +0000 (19:24 +0100)
commitbd4217d8c6ef48425c8d6b28d2e089a83e01af04
tree0c399bdc4497ced5f168fa224a2c4c5ca63cfb5e
parent907135aaa0cc120a347222c8f274ecc5ca0db641
i2c-dev: Unbound new-style i2c clients aren't busy

Let i2c-dev deal properly with new-style i2c clients. Instead of
considering them always busy, it needs to check wether a driver is
bound to them or not.

This is still not completely correct, as the client could become
busy later, but the same problem already existed before new-style
clients were introduced. We'll want to fix it someday.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
drivers/i2c/i2c-dev.c