]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-mc: Removed reordering of MC objects during bus scan
authorJ. German Rivera <German.Rivera@freescale.com>
Fri, 27 Mar 2015 21:01:05 +0000 (16:01 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Apr 2015 11:55:03 +0000 (13:55 +0200)
commit7baa3e5b842ce36689e329f1bb9a6d7fcc79e2c9
tree289e67b471fbab055eb59c358d8ab2fb6ee9965c
parentb3eccb1a3aa1d8427defb7b906d0597e9d1b99b9
staging: fsl-mc: Removed reordering of MC objects during bus scan

MC objects discovered during an MC bus scan were being reordered
to ensure that all allocatable objects are probed before all
non-allocatable objects. However, this is not necessary, as
drivers of non-allocatable objects, that allocate allocatable
objects in their probe function, can return -EPROBE_DEFER
if such allocations fail.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/dprc-driver.c