From: Malcolm Priestley Date: Sun, 11 Nov 2012 16:07:57 +0000 (+0000) Subject: staging: vt6656: 64bit fixes: vCommandTimerWait change calculation of timer. X-Git-Tag: v3.2.36~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48c70dec9aa7a0a33c3d5329d271e1c884731b6c;p=pandora-kernel.git staging: vt6656: 64bit fixes: vCommandTimerWait change calculation of timer. commit 70e227790d4ee4590023d8041a3485f8053593fc upstream. The timer appears to run too fast/race on 64 bit systems. Using msecs_to_jiffies seems to cause a deadlock on 64 bit. A calculation of (MSecond * HZ) / 1000 appears to run satisfactory. Change BSSIDInfoCount to u32. After this patch the driver can be successfully connect on little endian 64/32 bit systems. Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed