]> git.sur5r.net Git - u-boot/commit
mmc: sdhci: Add support for disabling clock
authorSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Thu, 19 Apr 2018 07:07:04 +0000 (12:37 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 11 May 2018 07:38:27 +0000 (09:38 +0200)
commit2a2d7efe77f771e2776de6b360be264de12818d8
tree7a13e6ea3ef65b0297dfa58175f3067579fe1d26
parent36332b6e4b122e0bdb43eb992533bdd911b6c030
mmc: sdhci: Add support for disabling clock

This patch adds support to disable clock if clk_disable
was set and then enable or set clock if the clock was changed
or clock was disabled when clock needs to be enabled.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/mmc/sdhci.c