OSDN Git Service

greybus: manifest: Allow bundles/connections list to be non-empty at manifest parsing
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 22 Jun 2015 11:06:47 +0000 (16:36 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 24 Jun 2015 06:16:15 +0000 (23:16 -0700)
commitb08488bea5929f14b1e08d701652427bf63a9b47
tree4d1b662847756e8de350ff0f0711803093b983a3
parent3b6ecd6de6b4d8aad200d256b0c09d536a15df29
greybus: manifest: Allow bundles/connections list to be non-empty at manifest parsing

A connection and a bundle will be created for interfaces at the very
beginning for control protocol's functioning. And so the list of bundles
and connections for a interface will be non-empty by the time manifest
is parsed.

Currently we are firing a WARN when these lists are found to be
non-empty. Lets fix that to contain single bundle and connection for
control protocol.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/manifest.c