Re: [PATCH] soc: qcom: mdt_loader: Fix split-firmware condition

From: Vinod Koul
Date: Mon Feb 21 2022 - 23:02:03 EST


On 14-02-22, 19:48, Bjorn Andersson wrote:
> 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@xxxxxxxxxx>

Reviewed-by: Vinod Koul <vkoul@xxxxxxxxxx>

--
~Vinod