commit | 1b22dcf6b33ace39c11a2832260d499d020c3d55 | [log] [tgz] |
---|---|---|
author | Jia-Ju Bai <baijiaju1990@gmail.com> | Mon Jul 30 21:42:56 2018 +0800 |
committer | Dominik Brodowski <linux@dominikbrodowski.net> | Mon Oct 01 12:17:02 2018 +0200 |
tree | 094d179ba364b54ba758a9510eb40dc2a1768616 | |
parent | 5f17af054d6a782e7b582d300274d3143fddba5e [diff] |
pcmcia: pcmcia_resource: Replace mdelay() with msleep() pcmcia_fixup_iowidth() and pcmcia_enable_device() are never called in atomic context. They call mdelay() to busily wait, which is not necessary. mdelay() can be replaced with msleep(). 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: Dominik Brodowski <linux@dominikbrodowski.net>