diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-03-08 23:04:18 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-19 18:04:47 -0400 |
commit | b367dcaa512922e9207160bef0895622cfae4c9f (patch) | |
tree | 39ecb90f3eb90204e8a0e4f49a721704a8b7920b /drivers/scsi | |
parent | 02845560090749dfd0bc0f3816c32f77b1efc56b (diff) |
[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 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) | |||
7006 | while (!bfa_raw_sem_get(bar)) { | 7006 | while (!bfa_raw_sem_get(bar)) { |
7007 | if (--n <= 0) | 7007 | if (--n <= 0) |
7008 | return BFA_STATUS_BADFLASH; | 7008 | return BFA_STATUS_BADFLASH; |
7009 | udelay(10000); | 7009 | mdelay(10); |
7010 | } | 7010 | } |
7011 | return BFA_STATUS_OK; | 7011 | return BFA_STATUS_OK; |
7012 | } | 7012 | } |