staging: vt6656: baseband.c BBvCalculateParameter pwPhyLen return endian corrected.
authorMalcolm Priestley <tvboxspy@gmail.com>
Tue, 20 Aug 2013 21:49:26 +0000 (22:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 17:10:36 +0000 (10:10 -0700)
commit4ac306e0d41e8da01a59ac9e3a347877d56874a7
treeb25044c0de7982f96d8d181db193f1c20e751053
parentdf2da9a3fc4b4aeb5c6250006a297f143ca7fcc3
staging: vt6656: baseband.c BBvCalculateParameter pwPhyLen return endian corrected.

In rxtx.c many calls to BBvCaculateParameter are not endian
corrected all calls here need to be endian corrected.

Correct the endian in BBvCaculateParameter.

In card.c: CARDvSetRSPINF pwPhyLen points to awLen and is
manually applied to abyData.  Because it is now endian
corrected put_unaligned is needed to correct it.

In rxtx.c remove were endian is corrected.

This allows to merge  BBvCalculateParameter *pwPhyLen,*pbyPhySrv
and *pbyPhySgn to singles structure for tx buffers.

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