]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
Revert "staging: ozwpan: enable some debug trace print"
authorBharat Nihalani <bnihalani@nvidia.com>
Tue, 8 Jul 2014 14:16:01 +0000 (19:46 +0530)
committerTodd Poynter <tpoynter@nvidia.com>
Tue, 8 Jul 2014 22:05:24 +0000 (15:05 -0700)
This reverts commit 09cd18b2dfc33c6f8e2f86a9c270f435172a493e since
it causes potential delay in other threads in the system to be
scheduled.

On devices that don't have the right firmware, we do see OZ_TIMER_OUT
prints flooded in kernel log. This does cause delay in other threads
to be scheduled. This print is coming from a tasklet for oz_pd_timeout_handler.

Bug 200016188

Change-Id: I844994d4a768f61e20914f3a3649d4a139c4a7ab
Signed-off-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-on: http://git-master/r/435649
GVS: Gerrit_Virtual_Submit
Reviewed-by: Vinayak Pane <vpane@nvidia.com>
Tested-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-by: Todd Poynter <tpoynter@nvidia.com>
drivers/staging/ozwpan/oztrace.c

index 44895dfeec45f13dfe8667b9b8a433a3d8f7e93e..4503c5dfa091133d612d6b86881fd229cd417205 100644 (file)
@@ -15,7 +15,7 @@ u32 g_debug =
        TRC_FLG(M)|TRC_FLG(R)|TRC_FLG(T)|
        TRC_FLG(S)|TRC_FLG(E)|TRC_FLG(C);
 #else
-       TRC_FLG(M);
+       0;
 #endif
 
 void (*func[]) (char *fmt, va_list arg) = {