aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-27 16:50:45 +0800
committerKalle Valo <kvalo@codeaurora.org>2018-07-31 10:26:46 +0300
commit622e938240db71365958824cc91af1bb5c481f5e (patch)
treeb4249dce7d52dc1bff773de1bb574693a013601b /tools/perf/scripts/python
parentatmel: Replace mdelay() with msleep() in probe_atmel_card() (diff)
downloadlinux-622e938240db71365958824cc91af1bb5c481f5e.tar.gz
linux-622e938240db71365958824cc91af1bb5c481f5e.zip
rtl818x: Replace mdelay() with msleep() in rtl8225se_rf_init
rtl8225se_rf_init() is never called in atomic context. It calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). This patch only replaces the mdelay() that has >20ms time to wait. This is found by a static analysis tool named DCNS written by myself. Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions