Commit 43154f6f authored by Jes Sorensen's avatar Jes Sorensen Committed by Kalle Valo

rtl8xxxu: Minor cleanup to rtl8xxxu_download_firmware()

Signed-off-by: default avatarJes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent d289cbed
...@@ -2100,7 +2100,8 @@ static int rtl8xxxu_download_firmware(struct rtl8xxxu_priv *priv) ...@@ -2100,7 +2100,8 @@ static int rtl8xxxu_download_firmware(struct rtl8xxxu_priv *priv)
/* 8051 enable */ /* 8051 enable */
val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC); val16 = rtl8xxxu_read16(priv, REG_SYS_FUNC);
rtl8xxxu_write16(priv, REG_SYS_FUNC, val16 | SYS_FUNC_CPU_ENABLE); val16 |= SYS_FUNC_CPU_ENABLE;
rtl8xxxu_write16(priv, REG_SYS_FUNC, val16);
/* MCU firmware download enable */ /* MCU firmware download enable */
val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL); val8 = rtl8xxxu_read8(priv, REG_MCU_FW_DL);
......
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