Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2efe1bb authored by Johan Hovold's avatar Johan Hovold Committed by Greg Kroah-Hartman
Browse files

greybus: connection: rename an error label



Rename an error label to make it more descriptive.

Reviewed-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarJohan Hovold <johan@hovoldconsulting.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 6adcf441
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);