Skip to content

Commit

Permalink
ath10k: fix calibration init sequence of qca99x0
Browse files Browse the repository at this point in the history
pre-calibration is meant for qca4019 which contains only caldata
whereas calibration file is used by ar9888 and qca99x0 that contains
both board data and caldata. So by definition both pre-cal-file and
cal-file can not coexist. Keeping them in shared memory (union), is
breaking boot sequence of qca99x0. Fix it by storing both binaries
in separate memories. This issue is reported in ipq8064 platform which
includes caldata in flash memory.

Fixes: 3d9195e ("ath10k: incorporate qca4019 cal data download sequence")
Reported-by: Sebastian Gottschall <s.gottschall@dd-wrt.com>
Signed-off-by: Rajkumar Manoharan <rmanohar@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
  • Loading branch information
Rajkumar Manoharan authored and Kalle Valo committed Apr 7, 2016
1 parent a2cb3d5 commit b131129
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/net/wireless/ath/ath10k/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -728,10 +728,8 @@ struct ath10k {
const void *firmware_data;
size_t firmware_len;

union {
const struct firmware *pre_cal_file;
const struct firmware *cal_file;
};
const struct firmware *pre_cal_file;
const struct firmware *cal_file;

struct {
const void *firmware_codeswap_data;
Expand Down

0 comments on commit b131129

Please sign in to comment.