summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@163.com>2017-06-05 10:30:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-06-06 17:16:10 +0300
commit498c4b4e9c23855d17ecc2a108d949bb68020481 (patch)
tree1ca886f9c22960514b49587cd018c1e602315bc0 /include
parentac669251087d876d6e51eb648f98e575f0d0499d (diff)
downloadlinux-498c4b4e9c23855d17ecc2a108d949bb68020481.tar.xz
staging: rt5208: Fix a sleep-in-atomic bug in xd_copy_page
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 xd_cleanup_work xd_delay_write xd_finish_write xd_copy_page wait_timeout schedule_timeout --> may sleep To fix it, "wait_timeout" is replaced with mdelay in xd_copy_page. Signed-off-by: Jia-Ju Bai <baijiaju1990@163.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions