From: Mischa Jonker Date: Fri, 30 Aug 2013 09:56:25 +0000 (+0200) Subject: ARC: Fix __udelay calculation X-Git-Tag: v3.12-rc1~92^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7efd0da2d17360e1cef91507dbe619db0ee2c691;p=pandora-kernel.git ARC: Fix __udelay calculation Cast usecs to u64, to ensure that the (usecs * 4295 * HZ) multiplication is 64 bit. Initially, the (usecs * 4295 * HZ) part was done as a 32 bit multiplication, with the result casted to 64 bit. This led to some bits falling off, causing a "DMA initialization error" in the stmmac Ethernet driver, due to a premature timeout. Signed-off-by: Mischa Jonker Signed-off-by: Vineet Gupta --- Reading git-diff-tree failed