]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: connection: call connection_init hook after setting the handler
authorMatt Porter <mporter@linaro.org>
Tue, 28 Oct 2014 14:08:13 +0000 (10:08 -0400)
committerGreg Kroah-Hartman <greg@kroah.com>
Tue, 28 Oct 2014 23:47:56 +0000 (07:47 +0800)
commit755a21a9bfeef4bd8145d0896a1b6f668f6d99f3
tree294257638a9a20a09b558ea11c7f53d1df367c31
parent53cbb00933a5181cf57ae799a6fc8cbecba973a4
greybus: connection: call connection_init hook after setting the handler

In gb_connection_init() we set the connection_handler for each supported
protocol, but we never call the connection_init hook after doing so. This
results in a failure being returned so fix it by calling the connection_init
hook to get a good return and the associated driver initialized.

Signed-off-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/connection.c