diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-05-27 17:26:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-05-27 12:19:29 -0700 |
commit | e2efe1bbc42896c4c24fec16785be5264a2d7794 (patch) | |
tree | 27d35ed98c39ea9733754c394ab86e6f8d1c7482 /drivers/staging/greybus/connection.c | |
parent | 6adcf44170db6cddcbbf9321244e051a72120555 (diff) | |
download | op-kernel-dev-e2efe1bbc42896c4c24fec16785be5264a2d7794.zip op-kernel-dev-e2efe1bbc42896c4c24fec16785be5264a2d7794.tar.gz |
greybus: connection: rename an error label
Rename an error label to make it more descriptive.
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.c')
-rw-r--r-- | drivers/staging/greybus/connection.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index 785b60b..9c7133e 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -566,11 +566,11 @@ static int _gb_connection_enable(struct gb_connection *connection, bool rx) ret = gb_connection_control_connected(connection); if (ret) - goto err_svc_destroy; + goto err_flush_operations; return 0; -err_svc_destroy: +err_flush_operations: spin_lock_irq(&connection->lock); connection->state = GB_CONNECTION_STATE_DISABLED; gb_connection_cancel_operations(connection, -ESHUTDOWN); |