Loading drivers/misc/profiler.c +3 −2 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ static int bw_profiling_stop(struct tz_bw_svc_buf *bwbuf) struct tz_bw_svc_stop_req *bwstopreq = NULL; if (stop_done) { stop_done--; stop_done = 0; return 0; } bwstopreq = (struct tz_bw_svc_stop_req *) &bwbuf->bwreq; Loading Loading @@ -246,6 +246,7 @@ static int profiler_get_bw_info(void __user *argp) ret = bw_profiling_start(bwbuf); if (ret) pr_err("bw_profiling_start Failed with ret: %d\n", ret); stop_done = 0; break; } case TZ_BW_SVC_GET_ID: { Loading @@ -258,7 +259,7 @@ static int profiler_get_bw_info(void __user *argp) ret = bw_profiling_stop(bwbuf); if (ret) pr_err("bw_profiling_stop Failed with ret: %d\n", ret); stop_done++; stop_done = 1; break; } default: Loading Loading
drivers/misc/profiler.c +3 −2 Original line number Diff line number Diff line Loading @@ -214,7 +214,7 @@ static int bw_profiling_stop(struct tz_bw_svc_buf *bwbuf) struct tz_bw_svc_stop_req *bwstopreq = NULL; if (stop_done) { stop_done--; stop_done = 0; return 0; } bwstopreq = (struct tz_bw_svc_stop_req *) &bwbuf->bwreq; Loading Loading @@ -246,6 +246,7 @@ static int profiler_get_bw_info(void __user *argp) ret = bw_profiling_start(bwbuf); if (ret) pr_err("bw_profiling_start Failed with ret: %d\n", ret); stop_done = 0; break; } case TZ_BW_SVC_GET_ID: { Loading @@ -258,7 +259,7 @@ static int profiler_get_bw_info(void __user *argp) ret = bw_profiling_stop(bwbuf); if (ret) pr_err("bw_profiling_stop Failed with ret: %d\n", ret); stop_done++; stop_done = 1; break; } default: Loading