aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVivek Gautam <[email protected]>2018-08-07 23:17:39 +0530
committerMartin K. Petersen <[email protected]>2018-09-17 02:04:14 -0400
commiteebcc19646489b68399ce7b35d9c38eb9f4ec40f (patch)
tree9ea236c75b9b5d833db1cc20e157f9f595fef900 /tools/perf/scripts/python
parent94e989dee2b730e8e3c3d5b71ce54f93dce7b62e (diff)
scsi: ufshcd: Fix NULL pointer dereference for in ufshcd_init
Error paths in ufshcd_init() ufshcd_hba_exit() killed clk_scaling workqueue when the workqueue is actually created quite late in ufshcd_init(). So, we end up getting NULL pointer dereference in such error paths. Fix this by moving clk_scaling initialization and kill codes to two separate methods, and call them at required places. Fixes: 401f1e4490ee ("scsi: ufs: don't suspend clock scaling during clock gating") Signed-off-by: Vivek Gautam <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Subhash Jadavani <[email protected]> Cc: Matthias Kaehlcke <[email protected]> Cc: Evan Green <[email protected]> Cc: Martin K. Petersen <[email protected]> Reviewed-by: Evan Green <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions