1
linux/drivers/i2c
Jean Delvare 77ed74da26 [PATCH] i2c: Prevent deadlock on i2c client registration
Delay the call to adapter->client_register() until after we are
certain that the client registration is a success. At this point the
client is fully initialized and we no longer hold the adapter->clist
mutex, so this should prevent the deadlocks if the client_register()
callback needs to take that mutex too, as is the case for the bttv
driver.

This fixes bug #7234.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-30 10:58:47 -07:00
..
algos i2c: Constify i2c_algorithm declarations, part 1 2006-09-26 15:38:52 -07:00
busses [PATCH] i2c-sibyte: Fix modular build breakage 2006-09-29 09:34:17 -07:00
chips USB: move <linux/usb_otg.h> to <linux/usb/otg.h> 2006-09-27 11:58:48 -07:00
i2c-core.c [PATCH] i2c: Prevent deadlock on i2c client registration 2006-09-30 10:58:47 -07:00
i2c-dev.c i2c-dev: attach/detach_adapter cleanups 2006-09-26 15:38:51 -07:00
Kconfig i2c: Fix copy-n-paste in subsystem Kconfig 2006-09-26 15:38:51 -07:00
Makefile