]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
greybus: tracing: fix a bad tracepoint
authorAlex Elder <elder@linaro.org>
Tue, 24 May 2016 04:05:29 +0000 (23:05 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 05:37:19 +0000 (22:37 -0700)
In gb_operation_put_active(), the wrong trace point is being called.
Fix that.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/operation.c

index 259bd920e715db60b68c1f483136e76e85ab8acb..20a8d74473d054a0af952ef12522aa6b586479e6 100644 (file)
@@ -72,7 +72,7 @@ static void gb_operation_put_active(struct gb_operation *operation)
 
        spin_lock_irqsave(&connection->lock, flags);
 
-       trace_gb_operation_get_active(operation);
+       trace_gb_operation_put_active(operation);
 
        if (--operation->active == 0) {
                list_del(&operation->links);