diff options
| author | Jia-Ju Bai <[email protected]> | 2017-06-01 11:49:08 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-06-03 17:52:00 +0900 |
| commit | 385cab7c7131083cbe09d5f1d06df4544caa272d (patch) | |
| tree | 526f98c10a4e6f7e6d5df53468fd7c3e82cb4fe4 /tools/perf/scripts/python | |
| parent | a0eee1b6dabd79019196fd1d1a66eeb93788867a (diff) | |
rts5208: Fix a sleep-in-atomic bug in sd_power_off_card3v3
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_power_off_card3v3
wait_timeout
schedule_timeout --> may sleep
To fix it, "wait_timeout" is replaced with mdelay in sd_power_off_card3v3.
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