]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: Only retrieve cd pin when GPIO is enabled
authorHarm Berntsen <harm.berntsen@nedap.com>
Fri, 6 Nov 2020 12:20:44 +0000 (12:20 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 18 Jan 2021 20:14:15 +0000 (15:14 -0500)
commit7b4fe6dac112ffb63dc535c8d0ae198fcc949fed
tree27780ebe85eacab89b9ae682c84c98c19391cd8b
parente8fcb618522fd1b37ff7fac2cbe449f837258ee6
mmc: Only retrieve cd pin when GPIO is enabled

The driver only needs to retrieve the pin for the ACPI info. The driver
itself works without depending on GPIO.

Signed-off-by: Harm Berntsen <harm.berntsen@nedap.com>
CC: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/pci_mmc.c