Skip to content
Commit d599005a authored by Dinghao Liu's avatar Dinghao Liu Committed by Ulf Hansson
Browse files

mmc: sdhci-pci-o2micro: Add missing checks in sdhci_pci_o2_probe



It's odd to adopt different error handling on failure of
pci_read_config_dword(). Check the return value and terminate
execution flow on failure of all pci_read_config_dword() calls
in this function.

Signed-off-by: default avatarDinghao Liu <dinghao.liu@zju.edu.cn>
Link: https://lore.kernel.org/r/20210226084146.29095-1-dinghao.liu@zju.edu.cn
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent f46b54cc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment