Commit e7d992d8 authored by Parth Sane's avatar Parth Sane Committed by Greg Kroah-Hartman

rtl8712: Fixed alignment to match open parenthesis

Fixed alignment to match open parenthesis.
Signed-off-by: default avatarParth Sane <laerdevstudios@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cb18d3a2
...@@ -197,8 +197,8 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter) ...@@ -197,8 +197,8 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)
0x0000ffff); 0x0000ffff);
memcpy(ppayload, ptr, dump_imem_sz); memcpy(ppayload, ptr, dump_imem_sz);
r8712_write_mem(padapter, RTL8712_DMA_VOQ, r8712_write_mem(padapter, RTL8712_DMA_VOQ,
dump_imem_sz + TXDESC_SIZE, dump_imem_sz + TXDESC_SIZE,
(u8 *)ptx_desc); (u8 *)ptx_desc);
ptr += dump_imem_sz; ptr += dump_imem_sz;
imem_sz -= dump_imem_sz; imem_sz -= dump_imem_sz;
} while (imem_sz > 0); } while (imem_sz > 0);
...@@ -226,7 +226,8 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter) ...@@ -226,7 +226,8 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)
0x0000ffff); 0x0000ffff);
memcpy(ppayload, ptr, dump_emem_sz); memcpy(ppayload, ptr, dump_emem_sz);
r8712_write_mem(padapter, RTL8712_DMA_VOQ, r8712_write_mem(padapter, RTL8712_DMA_VOQ,
dump_emem_sz + TXDESC_SIZE, (u8 *)ptx_desc); dump_emem_sz + TXDESC_SIZE,
(u8 *)ptx_desc);
ptr += dump_emem_sz; ptr += dump_emem_sz;
emem_sz -= dump_emem_sz; emem_sz -= dump_emem_sz;
} while (emem_sz > 0); } while (emem_sz > 0);
...@@ -278,7 +279,7 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter) ...@@ -278,7 +279,7 @@ static u8 rtl8712_dl_fw(struct _adapter *padapter)
ptx_desc->txdw0 |= cpu_to_le32(BIT(28)); ptx_desc->txdw0 |= cpu_to_le32(BIT(28));
memcpy(ppayload, &fwhdr.fwpriv, fwhdr.fw_priv_sz); memcpy(ppayload, &fwhdr.fwpriv, fwhdr.fw_priv_sz);
r8712_write_mem(padapter, RTL8712_DMA_VOQ, r8712_write_mem(padapter, RTL8712_DMA_VOQ,
fwhdr.fw_priv_sz + TXDESC_SIZE, (u8 *)ptx_desc); fwhdr.fw_priv_sz + TXDESC_SIZE, (u8 *)ptx_desc);
/* polling dmem code done */ /* polling dmem code done */
i = 100; i = 100;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment