greybus: connection: request protocol version before initializing connection
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 11 Aug 2015 02:05:59 +0000 (07:35 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 12 Aug 2015 00:53:43 +0000 (17:53 -0700)
commit7ba26a8ced4a391133aa899a61647154d8d4d24c
tree3e1f039573b1ab4cecaefd739acd31efd56a345f
parentd653f4b19163aa9f3a8046bd6e895b8615856d11
greybus: connection: request protocol version before initializing connection

This can (should) be done from a common place as its required for most
of the protocols. Do it.

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