summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@163.com>2017-06-05 15:30:16 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-09-19 22:48:56 +0200
commit227e5d4b86e64e9807fe5ae507b0755229c2876a (patch)
treec5eb932d4c3b41b26f6333236a3815ce8361d631 /include/uapi/linux
parent8ecd71cd152bd3e08dc650c67ac7c600386a6a41 (diff)
staging: rt5208: Fix a sleep-in-atomic bug in xd_copy_page
commit 498c4b4e9c23855d17ecc2a108d949bb68020481 upstream. 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: Amit Pundir <amit.pundir@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions