[PATCH 1/2] ath10k: share board file loading code across FW APIs
Kalle Valo
kvalo at qca.qualcomm.com
Mon Mar 23 09:01:08 PDT 2015
Michal Kazior <michal.kazior at tieto.com> writes:
> There's no need to implement the same thing twice.
> Reduce code duplication.
>
> Signed-off-by: Michal Kazior <michal.kazior at tieto.com>
[...]
> @@ -730,6 +716,12 @@ static int ath10k_core_fetch_firmware_files(struct ath10k *ar)
> /* calibration file is optional, don't check for any errors */
> ath10k_fetch_cal_file(ar);
>
> + ret = ath10k_core_fetch_board_file(ar);
> + if (ret) {
> + ath10k_err(ar, "failed to fetch board file: %d\n", ret);
> + return ret;
> + }
> +
> ar->fw_api = 4;
> ath10k_dbg(ar, ATH10K_DBG_BOOT, "trying fw api %d\n", ar->fw_api);
There was a conflict here, please check the resolution in the pending
branch.
--
Kalle Valo
More information about the ath10k
mailing list