]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: queensbay: Return directly if IGD / SDVO were already disabled
authorBin Meng <bmeng.cn@gmail.com>
Mon, 2 Aug 2021 07:05:15 +0000 (15:05 +0800)
committerBin Meng <bmeng.cn@gmail.com>
Mon, 2 Aug 2021 16:03:14 +0000 (00:03 +0800)
commitc71d5fb717294ed9e46fc9a5855e8a1878b56f85
tree52641d4d41924a59499b44c7c41a918fdebf5fac
parent33e4ab31a9647b0bacd44b579199eaae239d69e3
x86: queensbay: Return directly if IGD / SDVO were already disabled

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@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/queensbay/tnc.c