]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
bna: Replace large udelay() with mdelay()
authorBen Hutchings <ben@decadent.org.uk>
Sun, 9 Mar 2014 04:03:22 +0000 (04:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Mar 2014 19:56:59 +0000 (15:56 -0400)
commitbc48bc806442114ea44f61d6b18e02c2bd6236fd
tree7b21f08ed967e830c0c295d5dee597ae08a2bc7b
parent37314363cd65d19c71bea5f222e5108c93dc3c78
bna: Replace large udelay() with mdelay()

udelay() does not work on some architectures for values above
2000, in particular on ARM:

ERROR: "__bad_udelay" [drivers/net/ethernet/brocade/bna/bna.ko] undefined!

Reported-by: Vagrant Cascadian <vagrant@debian.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bfa_ioc.c