aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2024-11-08 14:06:47 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2024-11-12 19:38:47 +0100
commit3f31337cf2a5b48e1a0feaaf6c86dcb2805fd06e (patch)
tree51f3798a02be63da6326f88c0585c024ec71c513 /rust/helpers/task.c
parent2508925fb346661bad9f50b497d7ac7d0b6085d0 (diff)
downloadlinux-3f31337cf2a5b48e1a0feaaf6c86dcb2805fd06e.tar.gz
linux-3f31337cf2a5b48e1a0feaaf6c86dcb2805fd06e.tar.bz2
linux-3f31337cf2a5b48e1a0feaaf6c86dcb2805fd06e.zip
mmc: pwrseq_simple: Handle !RESET_CONTROLLER properly
The recent introduction of reset control in pwrseq_simple introduced a regression for platforms without RESET_CONTROLLER support, because devm_reset_control_get_optional_shared() would return NULL and make all resets no-ops. Instead of enforcing this dependency, rely on this behavior to determine reset support. As a benefit we can get the rid of the use_reset flag. Fixes: 73bf4b7381f7 ("mmc: pwrseq_simple: add support for one reset control") Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com> Message-ID: <20241108130647.8281-1-wahrenst@gmx.net> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions