Re: [PATCH v1 1/7] bus: mhi: core: Rely on accurate method to determine EDL mode
From: Loic Poulain
Date: Tue Mar 30 2021 - 03:53:22 EST
On Tue, 30 Mar 2021 at 03:28, Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx> wrote:
>
> Relying on the current execution environment to determine if EDL
> image was downloaded should not be done as the execution
> environment can change at this point in error cases and we may
> misread it. Instead, MHI can rely on the local 'fw_name' variable
> as a safer alternative.
>
> Signed-off-by: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>
> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxx>
Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>