summaryrefslogtreecommitdiffstats
path: root/Documentation/IRQ-affinity.txt
diff options
context:
space:
mode:
authorJia-Ju Bai <baijiaju1990@gmail.com>2018-07-26 22:58:43 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-27 08:11:13 -0400
commit2b5c5798750180a34cb1f39cf648d8a8bceec287 (patch)
treee61aebc09199fb5676d25cb3cb35e21e7edcc4df /Documentation/IRQ-affinity.txt
parent17f330ce9e434333a98b0fbc7b6d5ddbe0cc6770 (diff)
downloadlinux-stable-2b5c5798750180a34cb1f39cf648d8a8bceec287.tar.gz
linux-stable-2b5c5798750180a34cb1f39cf648d8a8bceec287.tar.bz2
linux-stable-2b5c5798750180a34cb1f39cf648d8a8bceec287.zip
media: i2c: adv7842: Replace mdelay() with msleep() and usleep_range() in adv7842_ddr_ram_test()
adv7842_ddr_ram_test() is never called in atomic context. It only calls from: adv7842_ddr_ram_test() <- adv7842_command_ram_test() <- adv7842_ioctl() adv7842_ddr_ram_test() calls mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep() and usleep_range(). 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: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'Documentation/IRQ-affinity.txt')
0 files changed, 0 insertions, 0 deletions