aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJia-Ju Bai <[email protected]>2017-06-01 11:43:35 +0800
committerGreg Kroah-Hartman <[email protected]>2017-06-03 17:52:00 +0900
commited99f0141b6a7ac0d197c28b814e67d85ac42452 (patch)
tree32e0da569647b078e76fc42f06fdcb3b54312524 /tools/perf/scripts/python
parent385cab7c7131083cbe09d5f1d06df4544caa272d (diff)
rts5208: Fix a sleep-in-atomic bug in rtsx_exclusive_enter_ss
The driver may sleep under a spin lock, and the function call path is: rtsx_exclusive_enter_ss (acquire the lock by spin_lock) rtsx_enter_ss rtsx_power_off_card sd_cleanup_work sd_stop_seq_mode sd_switch_clock sd_ddr_tuning sd_ddr_pre_tuning_tx sd_change_phase wait_timeout schedule_timeout --> may sleep To fix it, "wait_timeout" is replaced with mdelay in sd_change_phase. Signed-off-by: Jia-Ju Bai <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions