staging: vt6655: Type encoding info dropped from variable name "qwTSFOffset"
variable name "qwTSFOffset" updated like below: a.type encoding info dropped from name b.camelcase name replaced by snakecase Issue found by checkpatch Signed-off-by: Pavan Bobba <opensource206@gmail.com> Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> Link: https://lore.kernel.org/r/035b910c92233a7252a4b312e0cfe5adbcbbae79.1698730318.git.opensource206@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
89abfc0ab5
commit
efafcb553e
@ -291,17 +291,17 @@ bool card_update_tsf(struct vnt_private *priv, unsigned char rx_rate,
|
||||
u64 bss_timestamp)
|
||||
{
|
||||
u64 local_tsf;
|
||||
u64 qwTSFOffset = 0;
|
||||
u64 tsf_offset = 0;
|
||||
|
||||
local_tsf = vt6655_get_current_tsf(priv);
|
||||
|
||||
if (bss_timestamp != local_tsf) {
|
||||
qwTSFOffset = CARDqGetTSFOffset(rx_rate, bss_timestamp,
|
||||
tsf_offset = CARDqGetTSFOffset(rx_rate, bss_timestamp,
|
||||
local_tsf);
|
||||
/* adjust TSF, HW's TSF add TSF Offset reg */
|
||||
qwTSFOffset = le64_to_cpu(qwTSFOffset);
|
||||
iowrite32((u32)qwTSFOffset, priv->port_offset + MAC_REG_TSFOFST);
|
||||
iowrite32((u32)(qwTSFOffset >> 32), priv->port_offset + MAC_REG_TSFOFST + 4);
|
||||
tsf_offset = le64_to_cpu(tsf_offset);
|
||||
iowrite32((u32)tsf_offset, priv->port_offset + MAC_REG_TSFOFST);
|
||||
iowrite32((u32)(tsf_offset >> 32), priv->port_offset + MAC_REG_TSFOFST + 4);
|
||||
vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_TFTCTL, TFTCTL_TSFSYNCEN);
|
||||
}
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user