Skip to content
Commit 4233698d authored by André Przywara's avatar André Przywara Committed by Jagan Teki
Browse files

mmc: sunxi: Honour non-removable property in DT



If a board DT describes a cd-gpios property, but also marks the storage
as non-removable, we must ignore the GPIO (as Linux does).

Teach the DM_MMC part of the Allwinner MMC driver about the
non-removable DT property, to fix DM_MMC access on the SoPine and
Pine64-LTS board.

Signed-off-by: default avatarAndre Przywara <andre.przywara@arm.com>
Acked-by: default avatarJagan Teki <jagan@openedev.com>
parent a7ae1599
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