diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-03-09 05:04:18 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-19 23:04:47 +0100 |
commit | b367dcaa512922e9207160bef0895622cfae4c9f (patch) | |
tree | 39ecb90f3eb90204e8a0e4f49a721704a8b7920b /drivers/scsi/bfa/bfa_ioc.c | |
parent | [SCSI] vmw_pvscsi: Some improvements in pvscsi driver. (diff) | |
download | linux-b367dcaa512922e9207160bef0895622cfae4c9f.tar.xz linux-b367dcaa512922e9207160bef0895622cfae4c9f.zip |
[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/bfa/bfa_ioc.c')
-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 7e256ef277b0..315d6d6dcfc8 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; } |