summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/sdhci-esdhc-imx.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2019-12-11 03:40:56 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2019-12-18 13:36:53 +0100
commit0f7c815d83a20dbae8b736331eb1ffd0bc0497d7 (patch)
tree51960fa94ae330a03ec98c93091d806623ddf141 /drivers/mmc/host/sdhci-esdhc-imx.c
parent9073d10b098973519044f5fcdc25586810b435da (diff)
mmc: core: Rework cd-gpio handling
There are a few places around the code that invert inverted and possibly inverted CD line. That's really confusing. Squash them all into one place in mmc_gpiod_request_cd(). MMC_CAP2_CD_ACTIVE_HIGH is used analogously to WP line: in GPIO mode it is used only at probe time to switch polarity, for native mode it is left as is. Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Link: https://lore.kernel.org/r/db189b715596d63caf8c6a088bddc71dd69a879b.1576031637.git.mirq-linux@rere.qmqm.pl Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-esdhc-imx.c')
0 files changed, 0 insertions, 0 deletions