]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: vt6656: set BBvSetAntennaMode in device_init_registers
authorMalcolm Priestley <tvboxspy@gmail.com>
Mon, 14 Jul 2014 18:43:06 +0000 (19:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jul 2014 14:50:52 +0000 (07:50 -0700)
BBvSetAntennaMode is not set at all, set to byRxAntennaMode

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

index dffd0c77c5449ac05f35fb429ddfa3b9a913b4d3..f0388d60b4d2474f05b7f9c736df479859f3bb8d 100644 (file)
@@ -371,6 +371,9 @@ static int device_init_registers(struct vnt_private *pDevice)
                }
        }
 
+       /* Set initial antenna mode */
+       BBvSetAntennaMode(pDevice, pDevice->byRxAntennaMode);
+
        /* get Auto Fall Back type */
        pDevice->byAutoFBCtrl = AUTO_FB_0;