]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: dw_mmc: Keep vqmmc-supply enable count in balance
authorJonas Karlman <jonas@kwiboo.se>
Wed, 19 Jul 2023 21:21:00 +0000 (21:21 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 14 Aug 2023 13:14:41 +0000 (09:14 -0400)
commit01b2917a1973b804338d3edbbd46198c540ba9f5
tree99340a83103530a83c49b59a9280cc833bd1bec3
parent9a2e9cc659a2ea6c7219fa86339dfef47d0b1516
mmc: dw_mmc: Keep vqmmc-supply enable count in balance

With the commit 4fcba5d556b4 ("regulator: implement basic reference
counter"), keeping regulator enablement in balance become more important.

Disable vqmmc-supply before signal voltage is changed to keep regulator
enable counter in balance.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
drivers/mmc/dw_mmc.c