]> git.ipfire.org Git - thirdparty/linux.git/commit
mmc: sdhci-of-aspeed: Handle optional controller reset
authorRyan Chen <ryan_chen@aspeedtech.com>
Tue, 24 Mar 2026 01:58:50 +0000 (09:58 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 25 Mar 2026 08:55:36 +0000 (09:55 +0100)
commit4f7cfb94be61677e8bfb7cbc909496f67bb6a08f
tree4e323f56e7669c264c59ac540289de986e061d3d
parent918d627c091683203a76badc88c2cd58b420f107
mmc: sdhci-of-aspeed: Handle optional controller reset

Get the optional reset line for the ASPEED SD controller during probe by
using devm_reset_control_get_optional_exclusive_deasserted().

This allows platforms such as AST2700, which require the SD controller
to be taken out of reset before use, to work with the existing driver.

Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ryan Chen <ryan_chen@aspeedtech.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-aspeed.c