]> git.karo-electronics.de Git - linux-beck.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)
commit0b528775948d9224c0eb26ed1c0fab973e6b2502
tree289e67b471fbab055eb59c358d8ab2fb6ee9965c
parentf83e775d6ef55ea4edbe2740b8a56a94f97158b5
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