Ming Lei
190888ac01
driver core: fix possible missing of device probe
...
Inside bus_add_driver(), one device might be added(device_add()) into
the bus or probed which is triggered by deferred probe
just after completing of driver_attach() and before
'klist_add_tail(&priv->knode_bus, &bus->p->klist_drivers)',
so the device won't be probed by this driver.
This patch moves the below line
'klist_add_tail(&priv->knode_bus, &bus->p->klist_drivers)'
before driver_attach() inside bus_add_driver() to fix the
problem.
Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-17 13:02:11 -08:00
..
power
Merge branch 'pm-sleep'
2013-01-06 00:36:17 +01:00
regmap
Merge remote-tracking branch 'regmap/topic/type' into regmap-next
2012-12-11 12:39:49 +09:00
attribute_container.c
drivers: base: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
2012-10-30 17:38:43 -07:00
base.h
bus.c
driver core: fix possible missing of device probe
2013-01-17 13:02:11 -08:00
class.c
core.c
drivers: base: Convert print_symbol to %pSR
2013-01-17 12:57:07 -08:00
cpu.c
dd.c
[SCSI] cleanup usages of scsi_complete_async_scans
2012-07-20 09:25:22 +01:00
devres.c
drivers: base: Convert dev_printk(KERN_<LEVEL> to dev_<level>(
2012-10-30 17:38:43 -07:00
devtmpfs.c
vfs: turn is_dir argument to kern_path_create into a lookup_flags arg
2012-12-20 18:50:02 -05:00
dma-buf.c
dma_buf: Cleanup dma_buf_fd
2013-01-17 12:57:07 -08:00
dma-coherent.c
drivers: dma-coherent: Fix typo in dma_mmap_from_coherent documentation
2012-10-23 14:05:32 +02:00
dma-contiguous.c
drivers: cma: represent physical addresses as phys_addr_t
2012-12-11 09:28:09 +01:00
dma-mapping.c
[media] dma-mapping: fix dma_common_get_sgtable() conditional compilation
2012-11-27 09:42:31 -02:00
driver.c
driver core: don't trigger uevent after failure
2012-07-17 10:40:23 -07:00
firmware.c
firmware_class.c
firmware loader: document firmware cache mechanism
2012-11-14 15:07:18 -08:00
hypervisor.c
init.c
isa.c
Kconfig
Merge 3.7-rc3 into driver-core-next
2012-10-29 08:46:28 -07:00
Makefile
map.c
memory.c
mm, memory-hotplug: dynamic configure movable memory and portion memory
2012-12-11 17:22:28 -08:00
module.c
node.c
numa: add CONFIG_MOVABLE_NODE for movable-dedicated node
2012-12-12 17:38:34 -08:00
platform.c
Driver core updates for 3.8-rc1
2012-12-11 13:13:55 -08:00
soc.c
syscore.c
topology.c
transport_class.c