aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLinmao Li <lilinmao@kylinos.cn>2026-08-12 14:07:38 +0800
committerLachlan Hodges <lachlan.hodges@morsemicro.com>2026-09-02 21:44:53 +1000
commitdc1936211335eca00acca53d058dc94fbab02028 (patch)
tree819cfaca6a80768b9ec6c44eca96d6177e4e8ba9 /scripts/Makefile.thinlto
parentwifi: mm81x: free the firmware scratch buffer on parse failures (diff)
wifi: mm81x: do not discard a failed firmware segment write
When mm81x_dm_write() fails while downloading a PT_LOAD segment, mm81x_fw_load_fw() sets ret to -EIO and breaks out of the loop. The boot address write at the end of the function then overwrites ret, so a partially downloaded image is reported as loaded and the chip is triggered on it instead of the load being retried. Leave the function as soon as a segment fails. Fixes: b1906cea00b0 ("wifi: mm81x: add mm81x Wi-Fi HaLow driver") Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Link: https://patch.msgid.link/20260812060740.1275280-3-lilinmao@kylinos.cn Signed-off-by: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions