linux_dsm_epyc7002/drivers/soc/qcom
Bjorn Andersson 90c29ed762 soc: qcom: wcnss_ctrl: Fix increment in NV upload
hdr.len includes both the size of the header and the fragment, so using
this when stepping through the firmware causes us to skip 16 bytes every
chunk of 3072 bytes; causing only the first fragment to actually be
valid data.

Instead use fragment size steps through the firmware blob.

Fixes: ea7a1f275c ("soc: qcom: Introduce WCNSS_CTRL SMD client")
Reported-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
2018-03-08 18:40:35 -06:00
..
glink_ssr.c soc: qcom: GLINK SSR notifier 2017-08-02 12:43:29 -07:00
Kconfig soc: qcom: rmtfs-mem: Add support for assigning memory to remote 2018-03-08 18:40:24 -06:00
Makefile soc: qcom: Introduce QMI helpers 2017-12-20 15:38:34 -06:00
mdt_loader.c soc: qcom: mdt_loader: Use request_firmware_into_buf() 2017-08-08 17:41:23 -05:00
qcom_gsbi.c soc: qcom: gsbi: Add support for ADM CRCI muxing 2015-03-11 15:18:39 -05:00
qmi_encdec.c soc: qcom: Introduce QMI encoder/decoder 2017-12-20 15:38:34 -06:00
qmi_interface.c soc: qcom: Introduce QMI helpers 2017-12-20 15:38:34 -06:00
rmtfs_mem.c soc: qcom: rmtfs-mem: Add support for assigning memory to remote 2018-03-08 18:40:24 -06:00
smd-rpm.c soc: qcom: smd-rpm: Add msm8996 compatibility 2017-03-28 17:58:08 -07:00
smem_state.c soc: qcom: Update properties for smem state referencing 2016-06-24 22:53:41 -05:00
smem.c soc: qcom: smem: Increase the number of hosts 2017-10-11 23:48:27 -05:00
smp2p.c soc: qcom: smp2p: Use common error handling code in qcom_smp2p_probe() 2018-01-01 00:29:09 -06:00
smsm.c soc: qcom: smsm: fix child-node lookup 2017-12-20 15:38:34 -06:00
spm.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-05-17 16:26:30 -07:00
wcnss_ctrl.c soc: qcom: wcnss_ctrl: Fix increment in NV upload 2018-03-08 18:40:35 -06:00