Skip to content
Commit 98ac9e4f authored by Balamanikandan Gunasundar's avatar Balamanikandan Gunasundar Committed by Ulf Hansson
Browse files

mmc: atmel-mci: Move card detect gpio polarity quirk to gpiolib



The polarity of the card detection gpio is handled by the "cd-inverted"
property in the device tree. Move this inversion logic to gpiolib to avoid
reading the gpio raw value.

Signed-off-by: default avatarBalamanikandan Gunasundar <balamanikandan.gunasundar@microchip.com>
Suggested-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20230825095157.76073-4-balamanikandan.gunasundar@microchip.com


Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent d2c6d518
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment