]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: vt6656: vnt_rf_write_embedded add reg length and IFREGCTL_REGW
authorMalcolm Priestley <tvboxspy@gmail.com>
Sat, 12 Jul 2014 10:30:02 +0000 (11:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Jul 2014 20:28:27 +0000 (13:28 -0700)
commitf1c840d55b2d8a015dec81dd4728a0587cf23811
treeec98ad145aff2745df114a5df489ce5a101674d3
parent0e2b6fe1f4cef04faecc2fbac833d296bd8c915e
staging: vt6656: vnt_rf_write_embedded add reg length and IFREGCTL_REGW

The rf register always have  *_REG_LEN and IFREGCTL_REGW macros added.

*_REG_LEN is always 23(0x17) replace them with VNT_RF_REG_LEN.

Remove *_REG_LEN and IFREGCTL_REGW from tables and vnt_rf_set_txpower and
apply VNT_RF_REG_LEN and IFREGCTL_REGW in vnt_rf_write_embedded

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