ath10k: fix calibration init sequence of qca99x0
authorRajkumar Manoharan <rmanohar@qti.qualcomm.com>
Thu, 7 Apr 2016 06:37:29 +0000 (12:07 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 7 Apr 2016 15:49:35 +0000 (18:49 +0300)
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: 3d9195ea19e4 ("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>
drivers/net/wireless/ath/ath10k/core.h

index c23c37312ef70161ab295c4d9b84738e6f97ad34..d85b99164212f9750d16fbf004d449758ffd535d 100644 (file)
@@ -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;
This page took 0.032691 seconds and 5 git commands to generate.