msm: qdss: miscellaneous code reorganization and cleanup
Reorganization of the code and general cleanup to make debugging
and code maintenance easier.
Change-Id: I9a9bd67d30fb9388982c7fb77c9b317fc2611e20
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
diff --git a/arch/arm/mach-msm/qdss.c b/arch/arm/mach-msm/qdss.c
index 5917964..b9ba4ce 100644
--- a/arch/arm/mach-msm/qdss.c
+++ b/arch/arm/mach-msm/qdss.c
@@ -75,6 +75,7 @@
if (ret)
goto err_etm;
+ pr_info("QDSS initialized\n");
return 0;
err_etm:
funnel_exit();
@@ -83,6 +84,7 @@
err_tpiu:
etb_exit();
err_etb:
+ pr_err("QDSS init failed\n");
return ret;
}
module_init(qdss_init);