[PATCH v2 1/2] x86: queensbay: Return directly if IGD / SDVO were already disabled

Simon Glass sjg at chromium.org
Mon Aug 2 16:44:48 CEST 2021


On Mon, 2 Aug 2021 at 01:05, Bin Meng <bmeng.cn at gmail.com> wrote:
>
> Initialize 'igd' and 'sdvo' to NULL so that we just need to test
> them against NULL later, to be compatible with that case that IGD
> and SDVO devices were already in disabled state.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
>
> ---
>
> Changes in v2:
> - Reword the commit message and add a comment in the codes
>
>  arch/x86/cpu/queensbay/tnc.c | 20 +++++++++-----------
>  1 file changed, 9 insertions(+), 11 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list