aboutsummaryrefslogtreecommitdiff
path: root/drivers/crypto/n2_core.c
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@linaro.org>2022-02-14 19:48:19 -0800
committerBjorn Andersson <bjorn.andersson@linaro.org>2022-02-23 13:13:12 -0600
commita1b019872693c74d919db4e267f451fc7af9a21c (patch)
tree5ccedff596c514641ba034b96feac489f57264d1 /drivers/crypto/n2_core.c
parentc9413e3e1e59045348f253b127df4684fff7cb9d (diff)
soc: qcom: mdt_loader: Fix split-firmware condition
The updated condition checking if a segment can be found in the loaded firmware blob, or need to be loaded from a separate file, incorrectly classifies segments that ends at the end of the loaded blob. The result is that the mdt loader attempts to load the segment from a separate file. Correct the conditional to use the loaded segment instead. Fixes: ea90330fa329 ("soc: qcom: mdt_loader: Extend check for split firmware") Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20220215034819.1209367-1-bjorn.andersson@linaro.org
Diffstat (limited to 'drivers/crypto/n2_core.c')
0 files changed, 0 insertions, 0 deletions