android_kernel_xiaomi_sm8350/drivers
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
..
acorn
acpi
amba
ata
atm
base [PATCH] kthread: drivers/base/firmware_class.c 2006-09-29 09:18:08 -07:00
block [PATCH] loop: forward-port resource leak checks from Solar 2006-09-29 09:18:22 -07:00
bluetooth [Bluetooth] Code cleanup for the HCI UART driver 2006-09-28 18:01:30 -07:00
cdrom
char [PATCH] Fix locking for tty drivers when doing urgent characters 2006-09-29 09:18:24 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firmware [PATCH] DMI: Decode and save OEM String information 2006-09-29 09:18:09 -07:00
hwmon hwmon: Remove Yuan Mu's address 2006-09-28 15:31:19 -07:00
i2c [PATCH] i2c: Prevent deadlock on i2c client registration 2006-09-30 10:58:47 -07:00
ide [PATCH] atiixp: ATI SB600 IDE support for various modes 2006-09-29 09:18:12 -07:00
ieee1394 Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6 2006-09-30 09:38:19 -07:00
infiniband Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband 2006-09-29 15:18:22 -07:00
input [PATCH] OMAP: Add keypad driver 2006-09-29 09:18:07 -07:00
isdn [IPV4]: annotate struct in_ifaddr 2006-09-28 18:00:55 -07:00
leds [PATCH] Make net48xx-led use scx200_gpio_ops 2006-09-29 09:18:06 -07:00
macintosh [PATCH] windfarm_smu_sat.c: simplify around i2c_add_driver() 2006-09-29 09:18:19 -07:00
mca
md
media Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb 2006-09-30 09:39:15 -07:00
message
mfd [PATCH] ucb1x00-ts: handle errors from input_register_device() 2006-09-29 09:18:10 -07:00
misc
mmc Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm 2006-09-28 14:40:39 -07:00
mtd
net [BNX2]: Disable MSI on 5706 if AMD 8132 bridge is present. 2006-09-29 17:06:23 -07:00
nubus
oprofile
parisc
parport [PATCH] CONFIG_PM=n slim: drivers/parport/parport_serial.c 2006-09-29 09:18:13 -07:00
pci
pcmcia
pnp
rapidio
rtc [PATCH] RTC: more XSTP/VDET support for rtc-rs5c348 driver 2006-09-29 09:18:24 -07:00
s390 [IPV4]: inet_addr_type() annotations 2006-09-28 18:01:07 -07:00
sbus
scsi
serial [SERIAL] sunzilog: Mark sunzilog_init_hw as __devinit. 2006-09-29 16:12:43 -07:00
sh
sn
spi
tc
telephony
usb USB: fix build error in ohci driver 2006-09-28 17:06:45 -07:00
video Merge branch 'intelfb-patches' of master.kernel.org:/pub/scm/linux/kernel/git/airlied/intelfb-2.6 2006-09-30 09:36:56 -07:00
w1
zorro
Kconfig
Makefile