greybus: connection: add trace events before disabling connection
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 15 Jun 2016 02:55:56 +0000 (08:25 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 16 Jun 2016 17:14:30 +0000 (10:14 -0700)
commit0698be0281e915ac42235b711f35465e8e14785b
tree307dc46bca0df9974723b95f6924e7ecd54b06a3
parent4ee48a5ecb7a3af272ac2c6cd6a0865b95a3d5f2
greybus: connection: add trace events before disabling connection

This is what we are doing elsewhere:
- Send enable/create trace events after enabling/creating stuff.
- Send disable/remove trace events before disabling/removing stuff.

This wasn't followed in a same way while disabling connections. Fix it.

Compile tested.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c