提交 5c36d5ae 编写于 作者: A Archana kumari 提交者: Greg Kroah-Hartman

staging: vt6655: fixed use of unnecessary braces in baseband.c

This patch fixes use of unnecessary braces in baseband.c
Signed-off-by: NArchana kumari <archanakumari959@gmail.com>
Reviewed-by: NRusty Russell <rusty@rustcorp.com.au>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 0f783c9d
...@@ -2434,13 +2434,12 @@ void BBvSetVGAGainOffset(PSDevice pDevice, unsigned char byData) ...@@ -2434,13 +2434,12 @@ void BBvSetVGAGainOffset(PSDevice pDevice, unsigned char byData)
BBbReadEmbedded(pDevice->PortOffset, 0x0A, &byBBRxConf);//CR10 BBbReadEmbedded(pDevice->PortOffset, 0x0A, &byBBRxConf);//CR10
// patch for 3253B0 Baseband with Cardbus module // patch for 3253B0 Baseband with Cardbus module
if (byData == pDevice->abyBBVGA[0]) { if (byData == pDevice->abyBBVGA[0])
byBBRxConf |= 0x20;//0010 0000 byBBRxConf |= 0x20;//0010 0000
} else if (pDevice->bShortSlotTime) { else if (pDevice->bShortSlotTime)
byBBRxConf &= 0xDF;//1101 1111 byBBRxConf &= 0xDF;//1101 1111
} else { else
byBBRxConf |= 0x20;//0010 0000 byBBRxConf |= 0x20;//0010 0000
}
pDevice->byBBVGACurrent = byData; pDevice->byBBVGACurrent = byData;
BBbWriteEmbedded(pDevice->PortOffset, 0x0A, byBBRxConf);//CR10 BBbWriteEmbedded(pDevice->PortOffset, 0x0A, byBBRxConf);//CR10
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册