]> Pileus Git - ~andy/linux/commit
atm: he: use mdelay instead of large udelay constants
authorArnd Bergmann <arnd@arndb.de>
Thu, 14 Mar 2013 14:21:36 +0000 (15:21 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Apr 2013 17:26:48 +0000 (13:26 -0400)
commitf0911aaea991342ca8346dbcfec3b7575ab22cba
tree83dfb97719950ab918e728978918b415e0803534
parent13ccf043ce85b64802a57bd3e47ca1505b6bf275
atm: he: use mdelay instead of large udelay constants

ARM cannot handle udelay for more than 2 miliseconds, and
it is rather bad style to block the cpu for 16ms anyway,
so let's use msleep instead.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Cc: linux-atm-general@lists.sourceforge.net
Cc: netdev@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/he.c