[PATCH upstream for stable 8/8]staging: vt6656: 64bit fixes: vCommandTimerWait change calculation of timer.

Ben Hutchings ben at decadent.org.uk
Thu Dec 27 19:24:54 UTC 2012


On Thu, 2012-12-27 at 13:25 +0000, Malcolm Priestley wrote:
> upstream commit
> 70e227790d4ee4590023d8041a3485f8053593fc
> 
> Tested on kernel 2.6.35, 3.0, 3.2, 3.5 & 3.7
> 
> staging: vt6656: 64bit fixes: vCommandTimerWait change calculation of timer.
>     
> 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.
> 
> Cc: stable at kernel.org  # 2.6.35+
> Signed-off-by: Malcolm Priestley <tvboxspy at gmail.com>
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
[...]

Queued up for 3.2, thanks.

Ben.

-- 
Ben Hutchings
The world is coming to an end.	Please log off.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20121227/64502f30/attachment.sig>


More information about the kernel-team mailing list