staging: vt6655: device_init_registers alway set initial antenna mode
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 19 Jan 2015 18:24:13 +0000 (18:24 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jan 2015 11:59:16 +0000 (19:59 +0800)
BBvSetTxAntennaMode and BBvSetRxAntennaMode need to be set correcty
on start up

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

index 0408e912dee4ba4878caf7b617868b312c0cfb1d..58559fae7cf19dc1a7aba23cf263166584268f7d 100644 (file)
@@ -323,6 +323,10 @@ static void device_init_registers(struct vnt_private *pDevice)
                }
        }
 
+       /* Set initial antenna mode */
+       BBvSetTxAntennaMode(pDevice, pDevice->byTxAntennaMode);
+       BBvSetRxAntennaMode(pDevice, pDevice->byRxAntennaMode);
+
        /* zonetype initial */
        pDevice->byOriginalZonetype = pDevice->abyEEPROM[EEP_OFS_ZONETYPE];