Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: 73bf4b7 ("mmc: pwrseq_simple: add support for one reset control") Signed-off-by: Stefan Wahren <[email protected]> Reviewed-by: Florian Fainelli <[email protected]> Message-ID: <[email protected]> Signed-off-by: Ulf Hansson <[email protected]>
- Loading branch information