Skip to content
Commit b65be635 authored by Fabien Parent's avatar Fabien Parent Committed by Ulf Hansson
Browse files

mmc: mtk-sd: check for valid optional memory resource



'top_base' memory region is optional. Check that the resource is valid
before using it. This avoid getting a "invalid resource" error message
printed by the kernel.

Signed-off-by: default avatarFabien Parent <fparent@baylibre.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent c278150e
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