]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
rsi: move common part of firmware load to separate function
authorSiva Rebbagondla <siva8118@gmail.com>
Wed, 3 Apr 2019 04:13:03 +0000 (09:43 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 25 Apr 2019 16:44:24 +0000 (19:44 +0300)
commit3ac61578fbd49dd13c62f11c94aa0044b6daa682
treea9aca96e2b0b5daac6d1979a4917894820ac3018
parent54fdb318c1116814711fad4bd166e6c85a477ef0
rsi: move common part of firmware load to separate function

Till software bootloader ready state, communication with device is common
for 9113 and 9116. Hence moved that part of firmware loading to separate
function rsi_prepare_fw_load(). Also LMAC_VER_OFFSET is different for 9113
and 9116, so renamed existing macro to LMAC_VER_OFFSET_9113

Signed-off-by: Siva Rebbagondla <siva8118@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_hal.c
drivers/net/wireless/rsi/rsi_hal.h