]> git.karo-electronics.de Git - karo-tx-linux.git/commit
SCSI: nsp32: use mdelay instead of large udelay constants
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Mar 2013 14:21:36 +0000 (15:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Aug 2013 05:59:10 +0000 (22:59 -0700)
commitc7cf2a7505ba6859fa2f5a2055dee3d98b5b3e41
tree3d1f32a2a9b0ee01359f7247cf99c7aab521845b
parent9ff2cb528a3eb18da1d94ac08abd365b8bb9abae
SCSI: nsp32: use mdelay instead of large udelay constants

commit b497ceb964a80ebada3b9b3cea4261409039e25a upstream.

ARM cannot handle udelay for more than 2 miliseconds, so we
should use mdelay instead for those.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: GOTO Masanori <gotom@debian.or.jp>
Cc: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/nsp32.c