commit | e83b6f99fc512acda05691db35e7d83817eac0b9 | [log] [tgz] |
---|---|---|
author | Zixun LI <admin@hifiphile.com> | Wed May 17 15:49:45 2023 +0200 |
committer | Eugen Hristev <eugen.hristev@collabora.com> | Mon Jul 24 14:21:00 2023 +0300 |
tree | 879cb0ed8d9e7534805e92dbd66ff74e2eb820ab | |
parent | f5b9587449f7f240da58c1cf8468d8103386ec8c [diff] |
atmel_sdhci: Force card-detect if MMC_CAP_NONREMOVABLE. If the device attached to the MMC bus is not removable, set force card-detect bit to bypass card detection procedure, so card detection pin can be used for other purposes. It's also a workaround for SAMA5D2 who doesn't drive CMD if using GPIO for card detection. Signed-off-by: Zixun LI <zli@ogga.fr> Reviewed-by: Eugen Hristev <eugen.hristev@collabora.com>