From: Malcolm Priestley Date: Mon, 19 Jan 2015 18:24:13 +0000 (+0000) Subject: staging: vt6655: device_init_registers alway set initial antenna mode X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=918185f6662379f570e29c86c0229d8036ef4fa7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git staging: vt6655: device_init_registers alway set initial antenna mode BBvSetTxAntennaMode and BBvSetRxAntennaMode need to be set correcty on start up Signed-off-by: Malcolm Priestley Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 0408e912dee4..58559fae7cf1 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -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];