Skip to content
Commit 50bb9cca authored by Fabien Parent's avatar Fabien Parent Committed by Johan Hovold
Browse files

greybus: connection: fail to bind if connection init fails



gb_connection_init() can fail and will return proper error code in that
case, but the caller is ignoring it currently.

Fix that by properly handling errors returned from gb_connection_init()
and propagating them to callers of gb_connection_bind_protocol().

Signed-off-by: default avatarFabien Parent <fparent@baylibre.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
parent fda2381b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment