staging: vt6656: lock changes: csMgmt_xmit.
authorMalcolm Priestley <tvboxspy@gmail.com>
Thu, 15 May 2014 21:49:15 +0000 (22:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 22:02:19 +0000 (15:02 -0700)
commit931cb9ff6eefb5c0e92c1b170ba68f5453aab32f
tree3700ec34be12f605d7ba681b3cf1f92171a7b8fd
parente03ce8393e41ddff574c95ac72378ed1f02cef54
staging: vt6656: lock changes: csMgmt_xmit.

csMgmt_xmit is nolonger atomically called but part of must be.

Reorder the function so that RFbSetPower is called first.

Add new lock spinlock for the remainder of the function.

Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vt6656/rxtx.c