greybus: connection: send [dis]connected events over control CPort
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 22 Jun 2015 11:12:29 +0000 (16:42 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 24 Jun 2015 06:17:25 +0000 (23:17 -0700)
commitf18327e8ebf4738140e9b33a2de99bb8e526a269
tree95f3be06662f612e2a588b70fdcf1fcce6531870
parent87c8eb8d09387de7263a7c2c75536db4aa50e056
greybus: connection: send [dis]connected events over control CPort

The AP needs to send connected and disconnection events to all
interfaces, before a CPort (other than control CPort) can be used.

For now do it which we initialize the connection, but it should be moved
to operations code later.

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