diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-03-09 04:04:18 +0000 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-19 15:04:47 -0700 |
commit | b367dcaa512922e9207160bef0895622cfae4c9f (patch) | |
tree | 39ecb90f3eb90204e8a0e4f49a721704a8b7920b /drivers/scsi | |
parent | 02845560090749dfd0bc0f3816c32f77b1efc56b (diff) | |
download | op-kernel-dev-b367dcaa512922e9207160bef0895622cfae4c9f.zip op-kernel-dev-b367dcaa512922e9207160bef0895622cfae4c9f.tar.gz |
[SCSI] bfa: Replace large udelay() with mdelay()
udelay() does not work on some architectures for values above
2000, in particular on ARM:
ERROR: "__bad_udelay" [drivers/scsi/bfa/bfa.ko] undefined!
Reported-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/bfa/bfa_ioc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bfa/bfa_ioc.c b/drivers/scsi/bfa/bfa_ioc.c index 7e256ef..315d6d6 100644 --- a/drivers/scsi/bfa/bfa_ioc.c +++ b/drivers/scsi/bfa/bfa_ioc.c @@ -7006,7 +7006,7 @@ bfa_flash_sem_get(void __iomem *bar) while (!bfa_raw_sem_get(bar)) { if (--n <= 0) return BFA_STATUS_BADFLASH; - udelay(10000); + mdelay(10); } return BFA_STATUS_OK; } |