greybus: only initialize interfaces when up
authorAlex Elder <elder@linaro.org>
Wed, 22 Oct 2014 07:04:32 +0000 (02:04 -0500)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 22 Oct 2014 09:22:22 +0000 (17:22 +0800)
commitc41b4f121240df46e5d901ad8aa9b9051b6c58e1
treeecdce71ca5de3935ab367764abfc6ade618a9268
parent525f1467bc22ad7d0866444b3a57c21ba64a0dd2
greybus: only initialize interfaces when up

Rather than bringing up all interfaces described in the manifest,
wait until we get a link up message, and at that time go initialize
the link.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/ap.c
drivers/staging/greybus/core.c
drivers/staging/greybus/module.c
drivers/staging/greybus/module.h