]> git.karo-electronics.de Git - karo-tx-linux.git/commit
greybus: connection: Propagate error properly
authorViresh Kumar <viresh.kumar@linaro.org>
Mon, 31 Aug 2015 11:51:12 +0000 (17:21 +0530)
committerJohan Hovold <johan@hovoldconsulting.com>
Thu, 3 Sep 2015 12:45:09 +0000 (14:45 +0200)
commit4c583f42c3cc0b6ebb678f5e7ecd5374479bfc22
treec269e6e45501cd43d71b9960143dd1a8babb1956
parent58f469a7da3c0b2e126851f850780de20182708b
greybus: connection: Propagate error properly

We just got an error, propagate the exact return value instead of 0.

Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
drivers/staging/greybus/connection.c