mei: Simplify the ME client enumeration code
authorSamuel Ortiz <sameo@linux.intel.com>
Sun, 18 Nov 2012 13:13:20 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Nov 2012 20:43:58 +0000 (12:43 -0800)
commitc1174c0edf546805a0ebc10d5d6154edbb56e1cf
treef1cc9084b89fa8965db5759d84e3094967575b3a
parentbe9d87a790765bcc85d8bdab8a9be31cf7457b28
mei: Simplify the ME client enumeration code

After enumerating all ME clients we call the client init functions for
all matching UUIDs from a separate context.
This remove the hackish cascading client initialisation process that was
interleaving properties and connection command replies.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/mei/init.c
drivers/misc/mei/interrupt.c
drivers/misc/mei/main.c
drivers/misc/mei/mei_dev.h